aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty Kuhrt <marty@kuhrt.net>2005-12-30 00:07:25 +0000
committerMarty Kuhrt <marty@kuhrt.net>2005-12-30 00:07:25 +0000
commit009f5790a4c01fc75b6e95159eb56bb19c863e7e (patch)
treed89e5b1019d77ede2557bec26af1845feea292db
parent0536b6c4590e7c1d5139200736206cca48a4c43e (diff)
changed HAVE_STRTOK to follow CRTL version
-rw-r--r--packages/vms/config-vms.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/vms/config-vms.h b/packages/vms/config-vms.h
index 3152a8ae9..461e330b4 100644
--- a/packages/vms/config-vms.h
+++ b/packages/vms/config-vms.h
@@ -6,6 +6,7 @@
/* MSK, 02/02/05, Changed HAVE_TERMIOS_H to an undef since the change in */
/* getpass.c no longer undef'd it during compile. */
/* MSK, 02/08/05, turned two config-vms files into one by using USE_SSLEAY */
+/* MPZ, 12/28/05, changed HAVE_STRTOK_R define to use CRTL_VER */
/* Define cpu-machine-OS */
#ifdef __ALPHA
@@ -230,11 +231,9 @@
/* Define if you have the <string.h> header file. */
#define HAVE_STRING_H 1
-/* Define if you have the `strtok_r' function. */
-/* Seems VAX V7.3 with DEC C 6.4 doesn't define this */
-#ifdef __VAX
-#undef HAVE_STRTOK_R
-#else
+/* Define if you have the `strtok_r' function. */
+/* Condition lifted from <string.h> */
+#if __CRTL_VER >= 70301000
#define HAVE_STRTOK_R 1
#endif