From 4c47007a5147737df6bd83a6adc9201489301998 Mon Sep 17 00:00:00 2001 From: ghazi Date: Mon, 2 Apr 2001 15:20:53 +0000 Subject: * configure.in: Don't check for putenv. * configure: Regenerate. * gcc.c (putenv): Don't define. * vax/xm-vms.h: Handle putenv. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41005 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/config/vax/xm-vms.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'gcc/config/vax') diff --git a/gcc/config/vax/xm-vms.h b/gcc/config/vax/xm-vms.h index a19fc15a081..5cda8408e0e 100644 --- a/gcc/config/vax/xm-vms.h +++ b/gcc/config/vax/xm-vms.h @@ -101,6 +101,14 @@ Boston, MA 02111-1307, USA. */ /* vprintf() has been available since VMS V4.6. */ #define HAVE_VPRINTF + +/* Early versions of VAX C for VMS do not have putenv. Comment out + the following define if your system doesn't have putenv. */ +#define HAVE_PUTENV + +#ifndef HAVE_PUTENV +#define putenv(x) +#endif #if defined(VAXC) || defined(__DECC) -- cgit v1.2.1