diff options
author | Jason Erickson <jerickso@stickpeople.com> | 2017-02-10 10:14:17 -0700 |
---|---|---|
committer | Jason Erickson <jerickso@stickpeople.com> | 2017-02-10 10:14:17 -0700 |
commit | 32e81a27b5a4c07a9fb935091d971eece63bbca2 (patch) | |
tree | c33b0b0393260b5d77421f142a884e2917cf780e | |
parent | 7493ea24f29dd18e64f42c2380d7aa8198b0dfc1 (diff) | |
download | psycopg2-32e81a27b5a4c07a9fb935091d971eece63bbca2.tar.gz |
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.
-rw-r--r-- | psycopg/config.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/psycopg/config.h b/psycopg/config.h index 5c65aa4..a96864f 100644 --- a/psycopg/config.h +++ b/psycopg/config.h @@ -140,7 +140,6 @@ static int pthread_mutex_init(pthread_mutex_t *mutex, void* fake) #endif #define strcasecmp(x, y) lstrcmpi(x, y) -#if _MSC_VER <= 1600 typedef __int8 int8_t; typedef __int16 int16_t; typedef __int32 int32_t; @@ -150,7 +149,6 @@ typedef unsigned __int16 uint16_t; typedef unsigned __int32 uint32_t; typedef unsigned __int64 uint64_t; #endif -#endif #include "win32_support.h" #endif |