Craig A. Berry [Sat, 21 Feb 2009 20:46:27 +0000 (14:46 -0600)]
It's not really the system gmtime; it's the homegrown one in vms/vms.c
that checks hints and does shifting between UTC and local time when
requested.
USE_SYSTEM_GMTIME
Should we use the system functions if the time is inside their range?
Your system localtime() is probably more accurate, but our gmtime() is
- fast and safe.
+ fast and safe. Except on VMS, where we need the homegrown gmtime()
+ override to shift between UTC and local for the vmsish 'time' pragma.
*/
#define USE_SYSTEM_LOCALTIME
-/* #define USE_SYSTEM_GMTIME */
+#ifdef VMS
+# define USE_SYSTEM_GMTIME
+#endif
/* SYSTEM_LOCALTIME_MAX