From: Joakim Soderberg Date: Tue, 14 Jan 2014 16:53:47 +0000 (+0100) Subject: Fix so that old nmake project still builds. X-Git-Tag: release-2.1.4-alpha~42^2~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24d646666b3d85ff65fbdd5c1a29e3dc5c6f6e09;p=libevent Fix so that old nmake project still builds. --- diff --git a/Makefile.nmake b/Makefile.nmake index 39efbc91..f27cd619 100644 --- a/Makefile.nmake +++ b/Makefile.nmake @@ -20,7 +20,7 @@ SSL_CFLAGS= !ENDIF # Needed for correctness -CFLAGS=/IWIN32-Code /Iinclude /Icompat /DHAVE_CONFIG_H /I. $(SSL_CFLAGS) +CFLAGS=/IWIN32-Code /IWIN32-Code/nmake /Iinclude /Icompat /DHAVE_CONFIG_H /I. $(SSL_CFLAGS) # For optimization and warnings CFLAGS=$(CFLAGS) /Ox /W3 /wd4996 /nologo diff --git a/test/Makefile.nmake b/test/Makefile.nmake index 92244ad7..17aa2fb2 100644 --- a/test/Makefile.nmake +++ b/test/Makefile.nmake @@ -10,7 +10,7 @@ SSL_OBJS= SSL_LIBS= !ENDIF -CFLAGS=/I.. /I../WIN32-Code /I../include /I../compat /DHAVE_CONFIG_H /DTINYTEST_LOCAL $(SSL_CFLAGS) +CFLAGS=/I.. /I../WIN32-Code /I../WIN32-Code/nmake /I../include /I../compat /DHAVE_CONFIG_H /DTINYTEST_LOCAL $(SSL_CFLAGS) CFLAGS=$(CFLAGS) /Ox /W3 /wd4996 /nologo