summaryrefslogtreecommitdiff
path: root/time64_config.h
diff options
context:
space:
mode:
Diffstat (limited to 'time64_config.h')
-rw-r--r--time64_config.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/time64_config.h b/time64_config.h
index 4032acd215..6a1cd9d063 100644
--- a/time64_config.h
+++ b/time64_config.h
@@ -60,10 +60,13 @@
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