diff options
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | win32/Makefile.bcb | 4 | ||||
-rw-r--r-- | win32/Makefile.mingw | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 1c8adcd0..6f4c21f7 100644 --- a/configure.ac +++ b/configure.ac @@ -580,7 +580,6 @@ CYGWIN_EXTRA_PYTHON_LIBADD= WIN32_EXTRA_PYTHON_LIBADD= case "$host" in *-*-mingw*) - CPPFLAGS="$CPPFLAGS -DWIN32" WIN32_EXTRA_LIBADD="-lws2_32" WIN32_EXTRA_LDFLAGS="-no-undefined" if test "${PYTHON}" != "" diff --git a/win32/Makefile.bcb b/win32/Makefile.bcb index c4b51259..1064b807 100644 --- a/win32/Makefile.bcb +++ b/win32/Makefile.bcb @@ -42,7 +42,7 @@ XML_INTDIR_A = int.a.bcb UTILS_INTDIR = int.utils.bcb # The preprocessor and its options. -CPP = cpp32.exe -P- -DWIN32 +CPP = cpp32.exe -P- CPPFLAGS = -I"$(XML_SRCDIR)\include" -DNOLIBTOOL !if "$(WITH_THREADS)" != "no" CPPFLAGS = $(CPPFLAGS) -D_REENTRANT -D__MT__ @@ -50,7 +50,7 @@ CPPFLAGS = $(CPPFLAGS) -D_REENTRANT -D__MT__ # The compiler and its options. CC = bcc32.exe -CFLAGS = -q -DWIN32 -D_NO_VCL -D_WINDOWS -D_MBCS -DEILSEQ=2 -DNOLIBTOOL -w- +CFLAGS = -q -D_NO_VCL -D_WINDOWS -D_MBCS -DEILSEQ=2 -DNOLIBTOOL -w- CFLAGS = $(CFLAGS) -I"$(XML_SRCDIR)" -I"$(XML_SRCDIR)\include" -I"$(INCPREFIX)" -I"$(INCLUDE)" !if "$(WITH_THREADS)" != "no" CFLAGS = $(CFLAGS) -D_REENTRANT -tWM diff --git a/win32/Makefile.mingw b/win32/Makefile.mingw index 13f2d96f..81f261bc 100644 --- a/win32/Makefile.mingw +++ b/win32/Makefile.mingw @@ -40,7 +40,7 @@ endif # The compiler and its options. CC = gcc.exe -CFLAGS += -DWIN32 -D_WINDOWS -D_MBCS -DNOLIBTOOL +CFLAGS += -D_WINDOWS -D_MBCS -DNOLIBTOOL CFLAGS += -I$(XML_SRCDIR) -I$(XML_SRCDIR)/include -I$(INCPREFIX) $(INCLUDE) ifneq ($(WITH_THREADS),no) CFLAGS += -D_REENTRANT |