From fa7fc028cf904e472b72ef02d3327cfa697a9052 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Sun, 20 Feb 2005 15:24:06 +0000 Subject: [PATCH] Fix the compilation of expat. svn path=/trunk/; revision=13687 --- reactos/lib/expat/Makefile | 2 +- reactos/lib/expat/lib/internal.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/expat/Makefile b/reactos/lib/expat/Makefile index b48d4df825c..0de7acdc0e0 100644 --- a/reactos/lib/expat/Makefile +++ b/reactos/lib/expat/Makefile @@ -8,7 +8,7 @@ TARGET_NAME = expat 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 = \ diff --git a/reactos/lib/expat/lib/internal.h b/reactos/lib/expat/lib/internal.h index ff056c659cd..dd5454831da 100644 --- a/reactos/lib/expat/lib/internal.h +++ b/reactos/lib/expat/lib/internal.h @@ -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.