Fix the compilation of expat.

svn path=/trunk/; revision=13687
This commit is contained in:
Filip Navara 2005-02-20 15:24:06 +00:00
parent 50c2b29389
commit fa7fc028cf
2 changed files with 2 additions and 2 deletions

View file

@ -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 = \

View file

@ -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.