summaryrefslogtreecommitdiff
path: root/gcc/config/vax
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-02 15:20:53 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2001-04-02 15:20:53 +0000
commit4c47007a5147737df6bd83a6adc9201489301998 (patch)
tree1f734b5edaed710ac6c28e8f016f27249ad85131 /gcc/config/vax
parent8b8f11190f51bedc543d57f9b169d5730dce418b (diff)
downloadgcc-4c47007a5147737df6bd83a6adc9201489301998.tar.gz
* 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
Diffstat (limited to 'gcc/config/vax')
-rw-r--r--gcc/config/vax/xm-vms.h8
1 files changed, 8 insertions, 0 deletions
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)