From 70e9e843cb017d044a5636a7747827a4b6f44dc5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 9 Nov 2005 18:06:36 +0000 Subject: 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) --- source4/lib/appweb/mpr/var.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/lib/appweb') 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; -- cgit