From 009f5790a4c01fc75b6e95159eb56bb19c863e7e Mon Sep 17 00:00:00 2001 From: Marty Kuhrt Date: Fri, 30 Dec 2005 00:07:25 +0000 Subject: changed HAVE_STRTOK to follow CRTL version --- packages/vms/config-vms.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'packages') 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 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 */ +#if __CRTL_VER >= 70301000 #define HAVE_STRTOK_R 1 #endif -- cgit v1.2.3