aboutsummaryrefslogtreecommitdiff
path: root/lib/setup_once.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2011-02-14 13:42:01 +0100
committerDaniel Stenberg <daniel@haxx.se>2011-02-14 13:42:01 +0100
commitf19ace8d33e468969d3329e6bb17d6c032147e91 (patch)
treec7d0a0b28fb57ad041009535ca9e88feeb411993 /lib/setup_once.h
parentc2dff28c418b81bf5d9712003580d45b0666386a (diff)
gmtime: remove define
It turns out some systems rely on the gmtime or gmtime_r to be defined already in the system headers and thus my "precaution" redefining of them only caused trouble. They are now removed.
Diffstat (limited to 'lib/setup_once.h')
-rw-r--r--lib/setup_once.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/setup_once.h b/lib/setup_once.h
index e817b6dea..1b6fde527 100644
--- a/lib/setup_once.h
+++ b/lib/setup_once.h
@@ -488,8 +488,5 @@ typedef int sig_atomic_t;
#define ZERO_NULL 0
-#define gmtime(x) do_not_use_gmtime_use_Curl_gmtime()
-#define gmtime_r(x,y) do_not_use_gmtime_r_use_Curl_gmtime()
-
#endif /* __SETUP_ONCE_H */