diff --git a/expat/expat.mak b/expat/expat.mak index 7aab69b4..cb54a2f3 100755 --- a/expat/expat.mak +++ b/expat/expat.mak @@ -233,9 +233,9 @@ CLEAN : CPP=cl.exe # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /GX /O2 /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "." /D "WIN32" /D "NDEBUG" /D "_CONSOLE"\ - /Fp"$(INTDIR)/xmlec.pch" /YX /Fo"$(INTDIR)/" /c +# ADD CPP /nologo /W3 /GX /O2 /I "." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D "FILEMAP" /YX /c +CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D\ + "FILEMAP" /Fp"$(INTDIR)/xmlec.pch" /YX /Fo"$(INTDIR)/" /c CPP_OBJS=.\xmlec\Release/ CPP_SBRS=.\. @@ -312,9 +312,10 @@ CLEAN : CPP=cl.exe # ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "." /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c -CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "." /D "WIN32" /D "_DEBUG" /D\ - "_CONSOLE" /Fp"$(INTDIR)/xmlec.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c +# ADD CPP /nologo /W3 /Gm /GX /Zi /Od /I "." /D "_DEBUG" /D "WIN32" /D "_CONSOLE" /D "FILEMAP" /YX /c +CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "." /D "_DEBUG" /D "WIN32" /D\ + "_CONSOLE" /D "FILEMAP" /Fp"$(INTDIR)/xmlec.pch" /YX /Fo"$(INTDIR)/"\ + /Fd"$(INTDIR)/" /c CPP_OBJS=.\xmlec\Debug/ CPP_SBRS=.\. diff --git a/expat/xmlec/xmlec.c b/expat/xmlec/xmlec.c index 830c7009..cb91f989 100755 --- a/expat/xmlec/xmlec.c +++ b/expat/xmlec/xmlec.c @@ -1,9 +1,5 @@ #include -#ifdef _MSC_VER -#define FILEMAP -#endif - #ifdef _MSC_VER #define XMLTOKAPI __declspec(dllimport) #endif