aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/ntlib.c
diff options
context:
space:
mode:
authorKenichi Handa2013-04-05 23:17:55 +0900
committerKenichi Handa2013-04-05 23:17:55 +0900
commitb7a6f9f7919b7fc0871ae768b58f8e746aa7dd9f (patch)
treef32c8cce416e346d2953f063a0f22e95382cf57e /lib-src/ntlib.c
parent251e91474c91e16b101502c2ed7c05fc13e4ecea (diff)
parent73931ad14ad7a51d91f10b19ae9ca8cadb256916 (diff)
downloademacs-b7a6f9f7919b7fc0871ae768b58f8e746aa7dd9f.tar.gz
emacs-b7a6f9f7919b7fc0871ae768b58f8e746aa7dd9f.zip
merge trunk
Diffstat (limited to 'lib-src/ntlib.c')
-rw-r--r--lib-src/ntlib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib-src/ntlib.c b/lib-src/ntlib.c
index f43117457cb..849abc2ede5 100644
--- a/lib-src/ntlib.c
+++ b/lib-src/ntlib.c
@@ -34,11 +34,15 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
34 34
35#include "ntlib.h" 35#include "ntlib.h"
36 36
37/* MinGW64 defines _TIMEZONE_DEFINED and defines 'struct timespec' in
38 its system headers. */
39#ifndef _TIMEZONE_DEFINED
37struct timezone 40struct timezone
38{ 41{
39 int tz_minuteswest; /* minutes west of Greenwich */ 42 int tz_minuteswest; /* minutes west of Greenwich */
40 int tz_dsttime; /* type of dst correction */ 43 int tz_dsttime; /* type of dst correction */
41}; 44};
45#endif
42 46
43#define MAXPATHLEN _MAX_PATH 47#define MAXPATHLEN _MAX_PATH
44 48