aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1998-10-08 19:16:44 +0000
committerJeff Law <law@gcc.gnu.org>1998-10-08 13:16:44 -0600
commit338ed9bc7cec9c4b7454d46c7d522586a0db13e8 (patch)
tree39808a1f0684fac72c4e39b6c9234623baec328c /gcc
parent96fc0606e3f7106dea7876f0177aeea861dd425a (diff)
downloadgcc-338ed9bc7cec9c4b7454d46c7d522586a0db13e8.zip
gcc-338ed9bc7cec9c4b7454d46c7d522586a0db13e8.tar.gz
gcc-338ed9bc7cec9c4b7454d46c7d522586a0db13e8.tar.bz2
* i386/xm-cygwin32.h: Only define POSIX if it is not already defined.
From-SVN: r22933
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/i386/xm-cygwin32.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 3de38fc..1a9b26a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -5,6 +5,8 @@ Thu Oct 8 17:00:18 1998 Richard Henderson <rth@cygnus.com>
Thu Oct 8 17:15:04 1998 Jeffrey A Law (law@cygnus.com)
+ * i386/xm-cygwin32.h: Only define POSIX if it is not already defined.
+
* jump.c (jump_optimize): Revert accidental patch.
* Makefile.in (cpplib.o): Use unlibsubdir.
diff --git a/gcc/config/i386/xm-cygwin32.h b/gcc/config/i386/xm-cygwin32.h
index fd9c6db..67040fe 100644
--- a/gcc/config/i386/xm-cygwin32.h
+++ b/gcc/config/i386/xm-cygwin32.h
@@ -52,4 +52,6 @@ do { \
#define PATH_SEPARATOR ';'
/* This is needed so that protoize will compile. */
+#ifndef POSIX
#define POSIX
+#endif