diff options
| author | Eli Zaretskii | 2013-06-01 10:07:22 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-06-01 10:07:22 +0300 |
| commit | 32e2d7287fb58e7b4e8d56a37e2da4e9d87eded2 (patch) | |
| tree | 85ab2f71dced85bebd18cacdd769e74e0db90989 /nt/inc/sys | |
| parent | c75c93c7edffdc9592ac0e37bbba35dc5838b09c (diff) | |
| download | emacs-32e2d7287fb58e7b4e8d56a37e2da4e9d87eded2.tar.gz emacs-32e2d7287fb58e7b4e8d56a37e2da4e9d87eded2.zip | |
Fix compilation error on MinGW64 due to nt/inc/sys/time.h.
nt/inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
avoid multiple definition errors on MinGW64.
Diffstat (limited to 'nt/inc/sys')
| -rw-r--r-- | nt/inc/sys/time.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/nt/inc/sys/time.h b/nt/inc/sys/time.h index e586aaee07e..308748437d4 100644 --- a/nt/inc/sys/time.h +++ b/nt/inc/sys/time.h | |||
| @@ -28,6 +28,7 @@ struct timeval | |||
| 28 | #endif /* _W64 */ | 28 | #endif /* _W64 */ |
| 29 | 29 | ||
| 30 | #ifndef _TIMEZONE_DEFINED | 30 | #ifndef _TIMEZONE_DEFINED |
| 31 | #define _TIMEZONE_DEFINED | ||
| 31 | struct timezone | 32 | struct timezone |
| 32 | { | 33 | { |
| 33 | int tz_minuteswest; /* minutes west of Greenwich */ | 34 | int tz_minuteswest; /* minutes west of Greenwich */ |