Skip to content

Commit d59fc59

Browse files
committed
use cleaner tsrm_intptr_t/tsrm_uintptr_t typedef
1 parent 552c06d commit d59fc59

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

TSRM/TSRM.h

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,8 @@
3232
# define TSRM_API
3333
#endif
3434

35-
#ifdef _WIN64
36-
typedef __int64 tsrm_intptr_t;
37-
typedef unsigned __int64 tsrm_uintptr_t;
38-
#else
39-
typedef long tsrm_intptr_t;
40-
typedef unsigned long tsrm_uintptr_t;
41-
#endif
35+
typedef intptr_t tsrm_intptr_t;
36+
typedef uintptr_t tsrm_uintptr_t;
4237

4338
/* Only compile multi-threading functions if we're in ZTS mode */
4439
#ifdef ZTS

0 commit comments

Comments
 (0)