Commit 6156cfee authored by Konstantin Osipov's avatar Konstantin Osipov

Backport of:

------------------------------------------------------------
revno: 2627
committer: davi@mysql.com/endora.local
timestamp: Wed 2008-04-23 13:25:02 -0300
message:
Fix for a build failure on Windows due to ssize_t
not being declared.
parent 6bdc288f
...@@ -145,10 +145,21 @@ typedef __int64 os_off_t; ...@@ -145,10 +145,21 @@ typedef __int64 os_off_t;
#ifdef _WIN64 #ifdef _WIN64
typedef UINT_PTR rf_SetTimer; typedef UINT_PTR rf_SetTimer;
#else #else
typedef uint rf_SetTimer;
#endif
#ifndef HAVE_SIZE_T #ifndef HAVE_SIZE_T
typedef unsigned int size_t; #ifndef _SIZE_T_DEFINED
typedef SIZE_T size_t;
#define _SIZE_T_DEFINED
#endif
#endif
#ifndef HAVE_SSIZE_T
#ifndef _SSIZE_T_DEFINED
typedef SSIZE_T ssize_t;
#define _SSIZE_T_DEFINED
#endif #endif
typedef uint rf_SetTimer;
#endif #endif
#define Socket_defined #define Socket_defined
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment