aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-04-19 03:55:02 +0000
committerChristopher Faylor <me@cgf.cx>2001-04-19 03:55:02 +0000
commita9467b6835190d3ffd9ac47689be2cdf83c181d5 (patch)
treebff0518dcc1dee46451dbbecc6dcd00bf047dbd1
parentf8415f617bbdf95b536b3683ae87518abb4b66ce (diff)
downloadnewlib-a9467b6835190d3ffd9ac47689be2cdf83c181d5.zip
newlib-a9467b6835190d3ffd9ac47689be2cdf83c181d5.tar.gz
newlib-a9467b6835190d3ffd9ac47689be2cdf83c181d5.tar.bz2
* Makefile.in: Add -U_WIN32 to CFLAGS compile line to avoid inappropriate
Windows-isms.
-rw-r--r--winsup/bz2lib/ChangeLog5
-rw-r--r--winsup/bz2lib/Makefile.in4
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/bz2lib/ChangeLog b/winsup/bz2lib/ChangeLog
index 44102bb..c703a6e 100644
--- a/winsup/bz2lib/ChangeLog
+++ b/winsup/bz2lib/ChangeLog
@@ -1,3 +1,8 @@
+Wed Apr 18 23:54:53 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * Makefile.in: Add -U_WIN32 to CFLAGS compile line to avoid
+ inappropriate Windows-isms.
+
Wed Apr 18 15:58:28 2001 Christopher Faylor <cgf@cygnus.com>
Initial checkin from net sources.
diff --git a/winsup/bz2lib/Makefile.in b/winsup/bz2lib/Makefile.in
index 8494a9f..622445d 100644
--- a/winsup/bz2lib/Makefile.in
+++ b/winsup/bz2lib/Makefile.in
@@ -48,8 +48,8 @@ include $(srcdir)/../Makefile.common
MINGW_INCLUDES:=-I. -I$(srcdir) -I$(mingw_source)/include -I$(w32api_include) -I$(updir)/bz2lib
-MINGW_CXXFLAGS:=-MMD $(CXXFLAGS) -mno-cygwin $(MINGW_INCLUDES) -mwindows
-MINGW_CFLAGS:=-MMD $(CFLAGS) -mno-cygwin $(MINGW_INCLUDES) -mwindows
+MINGW_CXXFLAGS:=-MMD $(CXXFLAGS) -mno-cygwin $(MINGW_INCLUDES) -mwindows -U_WIN32
+MINGW_CFLAGS:=-MMD $(CFLAGS) -mno-cygwin $(MINGW_INCLUDES) -mwindows -U_WIN32
ZLIB:=zlib/libzcygw.a
BZ2LIB:=$(bupdir)/bz2lib/libbz2.a