mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
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.
This commit is contained in:
parent
c75c93c7ed
commit
32e2d7287f
@ -1,3 +1,8 @@
|
||||
2013-06-01 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
|
||||
avoid multiple definition errors on MinGW64.
|
||||
|
||||
2013-05-31 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* inc/sys/time.h (gettimeofday): Use '__restrict' instead of
|
||||
|
@ -28,6 +28,7 @@ struct timeval
|
||||
#endif /* _W64 */
|
||||
|
||||
#ifndef _TIMEZONE_DEFINED
|
||||
#define _TIMEZONE_DEFINED
|
||||
struct timezone
|
||||
{
|
||||
int tz_minuteswest; /* minutes west of Greenwich */
|
||||
|
Loading…
Reference in New Issue
Block a user