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:
parent
441dd8b5d2
commit
3da380293d
@ -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>
|
2010-05-07 Marcus Brinkmann <marcus@g10code.de>
|
||||||
|
|
||||||
* engine-g13.c, gpgme.c, engine-gpgsm.c, engine-gpg.c,
|
* engine-g13.c, gpgme.c, engine-gpgsm.c, engine-gpg.c,
|
||||||
|
@ -34,13 +34,15 @@
|
|||||||
/* Include stdio.h for the FILE type definition. */
|
/* Include stdio.h for the FILE type definition. */
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef _MSC_VER
|
#ifdef _WIN32
|
||||||
typedef long off_t;
|
typedef long off_t;
|
||||||
typedef long ssize_t;
|
typedef long ssize_t;
|
||||||
#else
|
#else
|
||||||
# include <sys/types.h>
|
# include <sys/types.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <time.h>
|
||||||
|
|
||||||
#include <gpg-error.h>
|
#include <gpg-error.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
Loading…
Reference in New Issue
Block a user