ssize_t for Windoze
authorVolker Birk <vb@pep-project.org>
Wed, 22 Apr 2015 12:13:22 +0200
changeset 2193b698a1336a0
parent 218 39dff11fa9cd
child 220 9234c753e2cf
ssize_t for Windoze
src/pgp_gpg.c
src/platform_windows.h
     1.1 --- a/src/pgp_gpg.c	Tue Apr 21 15:44:31 2015 +0200
     1.2 +++ b/src/pgp_gpg.c	Wed Apr 22 12:13:22 2015 +0200
     1.3 @@ -1,3 +1,4 @@
     1.4 +#include "platform.h"
     1.5  #include "pEp_internal.h"
     1.6  #include "pgp_gpg.h"
     1.7  
     2.1 --- a/src/platform_windows.h	Tue Apr 21 15:44:31 2015 +0200
     2.2 +++ b/src/platform_windows.h	Wed Apr 22 12:13:22 2015 +0200
     2.3 @@ -6,11 +6,13 @@
     2.4  
     2.5  #include <string.h>
     2.6  #include <io.h>
     2.7 +#include <basetsd.h>
     2.8  
     2.9  #ifdef __cplusplus
    2.10  extern "C" {
    2.11  #endif
    2.12  
    2.13 +#define ssize_t SSIZE_T
    2.14  #define RTLD_LAZY 1
    2.15  #define mode_t int
    2.16