2010-05-11 Marcus Brinkmann <marcus@g10code.de>

* gpgme.h.in: Use _WIN32 instead of _MSC_VER.  Include time.h for
	time_t.
This commit is contained in:
Marcus Brinkmann 2010-05-11 17:01:40 +00:00
parent 441dd8b5d2
commit 3da380293d
2 changed files with 8 additions and 1 deletions

View 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,

View File

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