svn commit: samba r11611 - in
branches/SAMBA_4_0/source/lib/appweb/mpr: .
metze at samba.org
metze at samba.org
Wed Nov 9 18:06:36 GMT 2005
Author: metze
Date: 2005-11-09 18:06:36 +0000 (Wed, 09 Nov 2005)
New Revision: 11611
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11611
Log:
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
Modified:
branches/SAMBA_4_0/source/lib/appweb/mpr/var.h
Changeset:
Modified: branches/SAMBA_4_0/source/lib/appweb/mpr/var.h
===================================================================
--- branches/SAMBA_4_0/source/lib/appweb/mpr/var.h 2005-11-09 17:53:48 UTC (rev 11610)
+++ branches/SAMBA_4_0/source/lib/appweb/mpr/var.h 2005-11-09 18:06:36 UTC (rev 11611)
@@ -296,7 +296,7 @@
* 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 @@
} cFunctionWithStrings;
MprStr string; /* Allocated string */
void *ptr; /* Opaque pointer */
-#if !BLD_DEBUG && !LINUX && !VXWORKS
+#if 0 && !BLD_DEBUG && !LINUX && !VXWORKS
};
#endif
} MprVar;
More information about the samba-cvs
mailing list