Fix the compilation of expat. Modified: trunk/reactos/lib/expat/Makefile Modified: trunk/reactos/lib/expat/lib/internal.h _____
Modified: trunk/reactos/lib/expat/Makefile --- trunk/reactos/lib/expat/Makefile 2005-02-20 15:02:48 UTC (rev 13686) +++ trunk/reactos/lib/expat/Makefile 2005-02-20 15:24:06 UTC (rev 13687) @@ -8,7 +8,7 @@
TARGET_TYPE = library
-TARGET_CFLAGS = -D__USE_W32API -DHAVE_EXPAT_CONFIG_H -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions +TARGET_CFLAGS = -D__USE_W32API -DHAVE_EXPAT_CONFIG_H -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -Ilib TARGET_LFLAGS = -nostartfiles
LIB_OBJECTS = \ _____
Modified: trunk/reactos/lib/expat/lib/internal.h --- trunk/reactos/lib/expat/lib/internal.h 2005-02-20 15:02:48 UTC (rev 13686) +++ trunk/reactos/lib/expat/lib/internal.h 2005-02-20 15:24:06 UTC (rev 13687) @@ -20,7 +20,7 @@
and therefore subject to change. */
-#if defined(__GNUC__) && defined(__i386__) +#if defined(__GNUC__) && defined(__i386__) && !defined(__MINGW32__) /* We'll use this version by default only where we know it helps.
regparm() generates warnings on Solaris boxes. See SF bug #692878.