Define FILEMAP in makefile not source file.

This commit is contained in:
James Clark 1997-11-04 08:16:45 +00:00
parent e40fe5267f
commit c4894ae2f7
2 changed files with 7 additions and 10 deletions

View File

@ -233,9 +233,9 @@ CLEAN :
CPP=cl.exe CPP=cl.exe
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /YX /c # 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 # 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 "WIN32" /D "NDEBUG" /D "_CONSOLE"\ CPP_PROJ=/nologo /ML /W3 /GX /O2 /I "." /D "NDEBUG" /D "WIN32" /D "_CONSOLE" /D\
/Fp"$(INTDIR)/xmlec.pch" /YX /Fo"$(INTDIR)/" /c "FILEMAP" /Fp"$(INTDIR)/xmlec.pch" /YX /Fo"$(INTDIR)/" /c
CPP_OBJS=.\xmlec\Release/ CPP_OBJS=.\xmlec\Release/
CPP_SBRS=.\. CPP_SBRS=.\.
@ -312,9 +312,10 @@ CLEAN :
CPP=cl.exe CPP=cl.exe
# ADD BASE CPP /nologo /W3 /Gm /GX /Zi /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /YX /c # 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 # 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 "WIN32" /D "_DEBUG" /D\ CPP_PROJ=/nologo /MLd /W3 /Gm /GX /Zi /Od /I "." /D "_DEBUG" /D "WIN32" /D\
"_CONSOLE" /Fp"$(INTDIR)/xmlec.pch" /YX /Fo"$(INTDIR)/" /Fd"$(INTDIR)/" /c "_CONSOLE" /D "FILEMAP" /Fp"$(INTDIR)/xmlec.pch" /YX /Fo"$(INTDIR)/"\
/Fd"$(INTDIR)/" /c
CPP_OBJS=.\xmlec\Debug/ CPP_OBJS=.\xmlec\Debug/
CPP_SBRS=.\. CPP_SBRS=.\.

View File

@ -1,9 +1,5 @@
#include <stdio.h> #include <stdio.h>
#ifdef _MSC_VER
#define FILEMAP
#endif
#ifdef _MSC_VER #ifdef _MSC_VER
#define XMLTOKAPI __declspec(dllimport) #define XMLTOKAPI __declspec(dllimport)
#endif #endif