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
2 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue