diff options
| author | Joakim Verona | 2013-03-26 16:14:01 +0100 |
|---|---|---|
| committer | Joakim Verona | 2013-03-26 16:14:01 +0100 |
| commit | 48c226c2c2592e31a47559bd1689fcc4354d9479 (patch) | |
| tree | 2f79cf5a16930fbd09d965be98b6d145c9984eb6 /lib-src/ntlib.c | |
| parent | e11705b616777a8a72363b2037d989987630e863 (diff) | |
| parent | 9536ec028c24fbedf617b67e98a108504e5b1e73 (diff) | |
| download | emacs-48c226c2c2592e31a47559bd1689fcc4354d9479.tar.gz emacs-48c226c2c2592e31a47559bd1689fcc4354d9479.zip | |
auto upstream
Diffstat (limited to 'lib-src/ntlib.c')
| -rw-r--r-- | lib-src/ntlib.c | 4 |
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 | ||
| 37 | struct timezone | 40 | struct 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 | ||