From: Peter Rosin Date: Wed, 25 May 2011 23:54:44 +0000 (-0400) Subject: Do not define WIN32 in Makefile.nmake X-Git-Tag: release-2.1.1-alpha~270 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d41f3ea24edeb01435baa3060afb512c0d9e1405;p=libevent Do not define WIN32 in Makefile.nmake --- diff --git a/Makefile.nmake b/Makefile.nmake index 4cd04c13..e472e988 100644 --- a/Makefile.nmake +++ b/Makefile.nmake @@ -2,7 +2,7 @@ # tons of important things. DO NOT RELY ON IT TO BUILD A GOOD LIBEVENT. # Needed for correctness -CFLAGS=/IWIN32-Code /Iinclude /Icompat /DWIN32 /DHAVE_CONFIG_H /I. +CFLAGS=/IWIN32-Code /Iinclude /Icompat /DHAVE_CONFIG_H /I. # For optimization and warnings CFLAGS=$(CFLAGS) /Ox /W3 /wd4996 /nologo diff --git a/test/Makefile.nmake b/test/Makefile.nmake index 2c240eec..e361d655 100644 --- a/test/Makefile.nmake +++ b/test/Makefile.nmake @@ -1,5 +1,5 @@ -CFLAGS=/I.. /I../WIN32-Code /I../include /I../compat /DWIN32 /DHAVE_CONFIG_H /DTINYTEST_LOCAL +CFLAGS=/I.. /I../WIN32-Code /I../include /I../compat /DHAVE_CONFIG_H /DTINYTEST_LOCAL CFLAGS=$(CFLAGS) /Ox /W3 /wd4996 /nologo