emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r112806: Fix compilation error on Min


From: Eli Zaretskii
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r112806: Fix compilation error on MinGW64 due to nt/inc/sys/time.h.
Date: Sat, 01 Jun 2013 10:07:22 +0300
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 112806
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sat 2013-06-01 10:07:22 +0300
message:
  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.
modified:
  nt/ChangeLog
  nt/inc/sys/time.h
=== modified file 'nt/ChangeLog'
--- a/nt/ChangeLog      2013-05-31 08:47:18 +0000
+++ b/nt/ChangeLog      2013-06-01 07:07:22 +0000
@@ -1,3 +1,8 @@
+2013-06-01  Eli Zaretskii  <address@hidden>
+
+       * inc/sys/time.h [!_TIMEZONE_DEFINED]: Define _TIMEZONE_DEFINED to
+       avoid multiple definition errors on MinGW64.
+
 2013-05-31  Eli Zaretskii  <address@hidden>
 
        * inc/sys/time.h (gettimeofday): Use '__restrict' instead of

=== modified file 'nt/inc/sys/time.h'
--- a/nt/inc/sys/time.h 2013-05-31 08:47:18 +0000
+++ b/nt/inc/sys/time.h 2013-06-01 07:07:22 +0000
@@ -28,6 +28,7 @@
 #endif /* _W64 */
 
 #ifndef _TIMEZONE_DEFINED
+#define _TIMEZONE_DEFINED
 struct timezone
 {
   int          tz_minuteswest; /* minutes west of Greenwich */


reply via email to

[Prev in Thread] Current Thread [Next in Thread]