[Gpg4win-commits] r605 - trunk/patches/claws-mail-3.0.2

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Nov 26 15:26:27 CET 2007


Author: marcus
Date: 2007-11-26 15:26:27 +0100 (Mon, 26 Nov 2007)
New Revision: 605

Modified:
   trunk/patches/claws-mail-3.0.2/04-gettimeofday.patch
Log:
Fix last change.


Modified: trunk/patches/claws-mail-3.0.2/04-gettimeofday.patch
===================================================================
--- trunk/patches/claws-mail-3.0.2/04-gettimeofday.patch	2007-11-26 13:57:00 UTC (rev 604)
+++ trunk/patches/claws-mail-3.0.2/04-gettimeofday.patch	2007-11-26 14:26:27 UTC (rev 605)
@@ -41,3 +41,22 @@
  
  /*** unistd ***/
  uid_t getuid( void );
+
+
+
+diff -rup claws-mail-3.0.2-orig/src/common/w32_time.c claws-mail-3.0.2/src/common/w32_time.c
+--- claws-mail-3.0.2-orig/src/common/w32_time.c	2007-11-23 17:44:51.000000000 +0100
++++ claws-mail-3.0.2/src/common/w32_time.c	2007-11-23 17:46:32.000000000 +0100
+@@ -24,6 +24,7 @@
+ 
+ #include "w32lib.h"
+ 
++#if ! defined (__MINGW32__) || MINGW32_VERSION < 312
+ int gettimeofday( struct timeval *tv, struct timezone *tz ){
+   struct _timeb tstruct;
+   _ftime( &tstruct );
+@@ -31,3 +32,4 @@ int gettimeofday( struct timeval *tv, st
+   tv->tv_usec = tstruct.millitm;
+   return 1;
+ }
++#endif



More information about the Gpg4win-commits mailing list