From b2b6cc0a55f7a1618b9a3b096eb8b65df4bb8a55 Mon Sep 17 00:00:00 2001 From: Per Bothner Date: Tue, 18 Apr 1995 17:23:29 -0700 Subject: (FIXPROTO_DEFINES): Define _HPUX_SOURCE so putenv gets seen. From-SVN: r9415 --- gcc/config/m68k/x-hp320 | 3 +++ gcc/config/m68k/x-hp320g | 3 +++ 2 files changed, 6 insertions(+) (limited to 'gcc') 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 -- cgit v1.1