summaryrefslogtreecommitdiff
path: root/TSRM/TSRM.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-12-22 10:34:44 +0100
committerAnatol Belski <ab@php.net>2014-12-22 11:08:52 +0100
commitd59fc5951e112505df86575959b1f9ce0826c9ae (patch)
tree43d5309e7908dd1503b42b70335e3a8db430a3a8 /TSRM/TSRM.h
parent552c06d439962cc4f949ea2b26ff6067b4260233 (diff)
downloadphp-git-d59fc5951e112505df86575959b1f9ce0826c9ae.tar.gz
use cleaner tsrm_intptr_t/tsrm_uintptr_t typedef
Diffstat (limited to 'TSRM/TSRM.h')
-rw-r--r--TSRM/TSRM.h9
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