diff options
| -rw-r--r-- | TSRM/TSRM.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/TSRM/TSRM.h b/TSRM/TSRM.h index e634592393..3e0d9b81cd 100644 --- a/TSRM/TSRM.h +++ b/TSRM/TSRM.h @@ -32,13 +32,8 @@ # define TSRM_API #endif -#ifdef _WIN64 -typedef __int64 tsrm_intptr_t; -typedef unsigned __int64 tsrm_uintptr_t; -#else -typedef long tsrm_intptr_t; -typedef unsigned long tsrm_uintptr_t; -#endif +typedef intptr_t tsrm_intptr_t; +typedef uintptr_t tsrm_uintptr_t; /* Only compile multi-threading functions if we're in ZTS mode */ #ifdef ZTS |
