aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Bothner <bothner@gcc.gnu.org>1995-04-18 17:23:29 -0700
committerPer Bothner <bothner@gcc.gnu.org>1995-04-18 17:23:29 -0700
commitb2b6cc0a55f7a1618b9a3b096eb8b65df4bb8a55 (patch)
tree1187d3310db8991eb924c828a1c1042d8dc522d6
parent7198acbe9b83b0cdaf5da203982df34e5374e870 (diff)
downloadgcc-b2b6cc0a55f7a1618b9a3b096eb8b65df4bb8a55.zip
gcc-b2b6cc0a55f7a1618b9a3b096eb8b65df4bb8a55.tar.gz
gcc-b2b6cc0a55f7a1618b9a3b096eb8b65df4bb8a55.tar.bz2
(FIXPROTO_DEFINES): Define _HPUX_SOURCE so putenv gets seen.
From-SVN: r9415
-rw-r--r--gcc/config/m68k/x-hp3203
-rw-r--r--gcc/config/m68k/x-hp320g3
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/m68k/x-hp320 b/gcc/config/m68k/x-hp320
index 62801a97..46f68e6 100644
--- a/gcc/config/m68k/x-hp320
+++ b/gcc/config/m68k/x-hp320
@@ -12,3 +12,6 @@ TAROUTOPTS = xpf
# You must set CFLAGS to empty on version 5.
# You must get alloca.c from GNU Emacs.
+
+# So putenv and other functions get seen by fixproto.
+FIXPROTO_DEFINES = -D_HPUX_SOURCE
diff --git a/gcc/config/m68k/x-hp320g b/gcc/config/m68k/x-hp320g
index 8b50e8a..38f201e 100644
--- a/gcc/config/m68k/x-hp320g
+++ b/gcc/config/m68k/x-hp320g
@@ -12,3 +12,6 @@ X_CFLAGS= -I../hp-include
# Version 5 of HPUX had a compiler bug that made it crash with -g.
# You must set CFLAGS to empty on version 5.
+
+# So putenv and other functions get seen by fixproto.
+FIXPROTO_DEFINES = -D_HPUX_SOURCE