summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-11-09 18:06:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:58 -0500
commit70e9e843cb017d044a5636a7747827a4b6f44dc5 (patch)
treede429a8f73c3cc12834bfaaa80aaa8622b7d4749
parentac842774e4538d3e25159f1ff0bc273bc3c5faeb (diff)
downloadsamba-70e9e843cb017d044a5636a7747827a4b6f44dc5.tar.gz
samba-70e9e843cb017d044a5636a7747827a4b6f44dc5.tar.bz2
samba-70e9e843cb017d044a5636a7747827a4b6f44dc5.zip
r11611: don't use unions without a instance name, not all compilers support that...
fix the build with cc on IRIX 6.5 us4 tridge: we should post this to the appweb maintainers, also with my hex constant fix from a few weeks ago! metze (This used to be commit 5cc44994fb17211009e68f941e3db56acf0ca236)
-rw-r--r--source4/lib/appweb/mpr/var.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/lib/appweb/mpr/var.h b/source4/lib/appweb/mpr/var.h
index ef9217b9cf..1f142d604d 100644
--- a/source4/lib/appweb/mpr/var.h
+++ b/source4/lib/appweb/mpr/var.h
@@ -296,7 +296,7 @@ typedef struct MprVar {
* Union of primitive types. When debugging on Linux, don't use unions
* as the gdb debugger can't display them.
*/
-#if !BLD_DEBUG && !LINUX && !VXWORKS
+#if 0 && !BLD_DEBUG && !LINUX && !VXWORKS
union {
#endif
int boolean; /* Use int for speed */
@@ -321,7 +321,7 @@ typedef struct MprVar {
} cFunctionWithStrings;
MprStr string; /* Allocated string */
void *ptr; /* Opaque pointer */
-#if !BLD_DEBUG && !LINUX && !VXWORKS
+#if 0 && !BLD_DEBUG && !LINUX && !VXWORKS
};
#endif
} MprVar;