1
0
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:
Eli Zaretskii 2013-06-01 10:07:22 +03:00
parent c75c93c7ed
commit 32e2d7287f
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -28,6 +28,7 @@ struct timeval
#endif /* _W64 */
#ifndef _TIMEZONE_DEFINED
#define _TIMEZONE_DEFINED
struct timezone
{
int tz_minuteswest; /* minutes west of Greenwich */