diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2010-07-26 20:15:59 +0200 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2010-07-26 20:15:59 +0200 |
commit | eb1c48be6f27180fbb0622ea3ed26ea683f78869 (patch) | |
tree | e8494fd714dc70cf0ef620d576a6118e67dc352e /ms/uplink.h | |
parent | #if out deleted function from headers so it isn't picked up by WIN32 build (diff) | |
download | openssl-eb1c48be6f27180fbb0622ea3ed26ea683f78869.tar.xz openssl-eb1c48be6f27180fbb0622ea3ed26ea683f78869.zip |
Add new type ossl_ssize_t instead of ssize_t and move definitions to
e_os2.h, this should fix WIN32 compilation issues and hopefully avoid
conflicts with other headers which may workaround ssize_t in different ways.
Diffstat (limited to 'ms/uplink.h')
-rw-r--r-- | ms/uplink.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ms/uplink.h b/ms/uplink.h index a4a67d3c14..4881ba7d42 100644 --- a/ms/uplink.h +++ b/ms/uplink.h @@ -23,7 +23,7 @@ extern void *OPENSSL_UplinkTable[]; #define UP_fileno (*(int (*)(void *))OPENSSL_UplinkTable[APPLINK_FILENO]) #define UP_open (*(int (*)(const char *,int,...))OPENSSL_UplinkTable[APPLINK_OPEN]) -#define UP_read (*(ssize_t (*)(int,void *,size_t))OPENSSL_UplinkTable[APPLINK_READ]) -#define UP_write (*(ssize_t (*)(int,const void *,size_t))OPENSSL_UplinkTable[APPLINK_WRITE]) +#define UP_read (*(ossl_ssize_t (*)(int,void *,size_t))OPENSSL_UplinkTable[APPLINK_READ]) +#define UP_write (*(ossl_ssize_t (*)(int,const void *,size_t))OPENSSL_UplinkTable[APPLINK_WRITE]) #define UP_lseek (*(long (*)(int,long,int))OPENSSL_UplinkTable[APPLINK_LSEEK]) #define UP_close (*(int (*)(int))OPENSSL_UplinkTable[APPLINK_CLOSE]) |