aboutsummaryrefslogtreecommitdiffstats
path: root/src/s
diff options
context:
space:
mode:
authorJoakim Verona2012-03-25 22:04:52 +0200
committerJoakim Verona2012-03-25 22:04:52 +0200
commit75da28a3845b9dfa4e730cfa19c14edc52cbb222 (patch)
treeb04519bffcb21264cbe3ce8af13df7186548667f /src/s
parentb827329a89291ed68dd017c53976be7ce5ed3b22 (diff)
parentf514f6f0e3f8bbeb5212d0337e5bda5a9a4eaeb5 (diff)
downloademacs-75da28a3845b9dfa4e730cfa19c14edc52cbb222.tar.gz
emacs-75da28a3845b9dfa4e730cfa19c14edc52cbb222.zip
upstream
Diffstat (limited to 'src/s')
-rw-r--r--src/s/ms-w32.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h
index d533ae34ac3..5eed3a177dc 100644
--- a/src/s/ms-w32.h
+++ b/src/s/ms-w32.h
@@ -286,6 +286,12 @@ typedef int pid_t;
286#define stricmp _stricmp 286#define stricmp _stricmp
287#define tzset _tzset 287#define tzset _tzset
288 288
289/* Include time.h before redirecting tzname, since MSVC's time.h
290 defines _tzname to call a function, but also declares tzname a
291 2-element array. Having the redirection before including the
292 header thus has the effect of declaring a function that returns an
293 array, and triggers an error message. */
294#include <time.h>
289#define tzname _tzname 295#define tzname _tzname
290#if !defined (_MSC_VER) || (_MSC_VER < 1400) 296#if !defined (_MSC_VER) || (_MSC_VER < 1400)
291#undef utime 297#undef utime