diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2018-12-12 14:08:15 -0500 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2018-12-12 14:08:15 -0500 |
commit | d5d60a503f6de8866be843b40fe6de7c20a0f3a0 (patch) | |
tree | 90a217238b5b5c08536829c177ccaf339b1a13c3 /replace.c | |
parent | c856f5c96f88cc8a5aacf6ee90e92ed80bd8c3ba (diff) | |
download | gawk-d5d60a503f6de8866be843b40fe6de7c20a0f3a0.tar.gz |
Speed up UTC mktime by using library timegm if available instead of our slow implementation.
Diffstat (limited to 'replace.c')
-rw-r--r-- | replace.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -91,6 +91,10 @@ #include "missing_d/mktime.c" #endif /* HAVE_MKTIME */ +#ifndef HAVE_TIMEGM +#include "missing_d/timegm.c" +#endif /* HAVE_TIMEGM */ + #ifndef HAVE_SNPRINTF #include "missing_d/snprintf.c" #endif |