mirror of
https://github.com/psycopg/psycopg2.git
synced 2025-02-07 21:00:33 +03:00
Allowed inittype.h's defs all versions of MSVC
Apparently only MSVC 2015 x64 had defined these types. Changed check to work for all versions of MSVC. Does not affect 2015x64.
This commit is contained in:
parent
7493ea24f2
commit
32e81a27b5
|
@ -140,7 +140,6 @@ static int pthread_mutex_init(pthread_mutex_t *mutex, void* fake)
|
||||||
#endif
|
#endif
|
||||||
#define strcasecmp(x, y) lstrcmpi(x, y)
|
#define strcasecmp(x, y) lstrcmpi(x, y)
|
||||||
|
|
||||||
#if _MSC_VER <= 1600
|
|
||||||
typedef __int8 int8_t;
|
typedef __int8 int8_t;
|
||||||
typedef __int16 int16_t;
|
typedef __int16 int16_t;
|
||||||
typedef __int32 int32_t;
|
typedef __int32 int32_t;
|
||||||
|
@ -150,7 +149,6 @@ typedef unsigned __int16 uint16_t;
|
||||||
typedef unsigned __int32 uint32_t;
|
typedef unsigned __int32 uint32_t;
|
||||||
typedef unsigned __int64 uint64_t;
|
typedef unsigned __int64 uint64_t;
|
||||||
#endif
|
#endif
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "win32_support.h"
|
#include "win32_support.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue
Block a user