aboutsummaryrefslogtreecommitdiffstats
path: root/vms/vms-conf.h
diff options
context:
space:
mode:
Diffstat (limited to 'vms/vms-conf.h')
-rw-r--r--vms/vms-conf.h18
1 files changed, 8 insertions, 10 deletions
diff --git a/vms/vms-conf.h b/vms/vms-conf.h
index d1593e6a..b8b98de1 100644
--- a/vms/vms-conf.h
+++ b/vms/vms-conf.h
@@ -5,7 +5,7 @@
*/
/*
- * Copyright (C) 1991, 1992, 1995 the Free Software Foundation, Inc.
+ * Copyright (C) 1991, 1992, 1995, 1996 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -128,6 +128,13 @@
#ifdef __DECC
/* DEC C implies DECC$SHR, which doesn't have the %g problem of VAXCRTL */
#undef GFMT_WORKAROUND
+ /* DEC C V5.x introduces incompatibilities with prior porting efforts */
+#define _DECC_V4_SOURCE
+#define __SOCKET_TYPEDEFS
+#if __VMS_VER >= 60200000
+# undef __VMS_VER
+# define __VMS_VER 60100000
+#endif
#endif
/*
@@ -154,15 +161,6 @@
#undef REGEX_MALLOC /* use true alloca() in regex.c */
#endif
-#ifndef HAVE_STRFTIME
-/*
- * Always use the version of strftime() in missing/strftime.c instead of
- * the [as yet undocumented/unsupported] one in VAXCRTL. Renaming it here
- * guarantees that it won't clash with the library routine.
- */
-#define strftime gnu_strftime
-#endif
-
#define IN_CONFIG_H
#include "vms/redirect.h"
#undef IN_CONFIG_H