2010-05-11 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Tue, 11 May 2010 17:01:40 +0000 (17:01 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Tue, 11 May 2010 17:01:40 +0000 (17:01 +0000)
* gpgme.h.in: Use _WIN32 instead of _MSC_VER.  Include time.h for
time_t.

src/ChangeLog
src/gpgme.h.in

index 4f1ca96..f9220bb 100644 (file)
@@ -1,3 +1,8 @@
+2010-05-11  Marcus Brinkmann  <marcus@g10code.de>
+
+       * gpgme.h.in: Use _WIN32 instead of _MSC_VER.  Include time.h for
+       time_t.
+
 2010-05-07  Marcus Brinkmann  <marcus@g10code.de>
 
        * engine-g13.c, gpgme.c, engine-gpgsm.c, engine-gpg.c,
index 2c5ef10..eed9daa 100644 (file)
 /* Include stdio.h for the FILE type definition.  */
 #include <stdio.h>
 
-#ifdef _MSC_VER
+#ifdef _WIN32
   typedef long off_t;
   typedef long ssize_t;
 #else
 # include <sys/types.h>
 #endif
 
+#include <time.h>
+
 #include <gpg-error.h>
 
 #ifdef __cplusplus