From 13a4ca02a8312260c3624b4341d74c2839f8feab Mon Sep 17 00:00:00 2001 From: goodale Date: Thu, 7 Jun 2001 16:50:56 +0000 Subject: Adding -D_WIN32 to flags for CPP as the CPP in the latest version Cygwin no longer defines this. Tom git-svn-id: http://svn.cactuscode.org/flesh/trunk@2220 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/make/known-architectures/cygwin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/make/known-architectures/cygwin b/lib/make/known-architectures/cygwin index bf9e1e2b..3d935f9c 100644 --- a/lib/make/known-architectures/cygwin +++ b/lib/make/known-architectures/cygwin @@ -101,8 +101,8 @@ else GET_WD="pwd | sed 's,^/cygdrive/\(.\)/,\1:/,' | sed 's,^//\(.\)/,\1:/,' | sed 's,/,\\\\\\,g' " # The -nostdinc stops it picking stdio.h, etc, from the GNU headers. - C_DEPEND='$(CPP) -E -MM -nostdinc $(CPPFLAGS) ' - CXX_DEPEND='$(CPP) -E -MM -nostdinc $(CPPFLAGS) ' + C_DEPEND='$(CPP) -E -MM -nostdinc -D_WIN32 $(CPPFLAGS) ' + CXX_DEPEND='$(CPP) -E -MM -nostdinc -D_WIN32 $(CPPFLAGS) ' # Add in system include dirs from $(INCLUDE). These may contain spaces. # The -D_M_IX86 is necessary for things like winnt.h. Since this is -- cgit v1.2.3