[svn] gpgme - r1468 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Tue May 11 19:01:41 CEST 2010
Author: marcus
Date: 2010-05-11 19:01:40 +0200 (Tue, 11 May 2010)
New Revision: 1468
Modified:
trunk/src/ChangeLog
trunk/src/gpgme.h.in
Log:
2010-05-11 Marcus Brinkmann <marcus at g10code.de>
* gpgme.h.in: Use _WIN32 instead of _MSC_VER. Include time.h for
time_t.
Modified: trunk/src/ChangeLog
===================================================================
--- trunk/src/ChangeLog 2010-05-07 23:22:38 UTC (rev 1467)
+++ trunk/src/ChangeLog 2010-05-11 17:01:40 UTC (rev 1468)
@@ -1,3 +1,8 @@
+2010-05-11 Marcus Brinkmann <marcus at g10code.de>
+
+ * gpgme.h.in: Use _WIN32 instead of _MSC_VER. Include time.h for
+ time_t.
+
2010-05-07 Marcus Brinkmann <marcus at g10code.de>
* engine-g13.c, gpgme.c, engine-gpgsm.c, engine-gpg.c,
Modified: trunk/src/gpgme.h.in
===================================================================
--- trunk/src/gpgme.h.in 2010-05-07 23:22:38 UTC (rev 1467)
+++ trunk/src/gpgme.h.in 2010-05-11 17:01:40 UTC (rev 1468)
@@ -34,13 +34,15 @@
/* 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
More information about the Gnupg-commits
mailing list