diff options
-rw-r--r-- | lib/make/known-architectures/cygwin | 4 |
1 files changed, 2 insertions, 2 deletions
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 |