com php-src: use cleaner tsrm_intptr_t/tsrm_uintptr_t typedef: TSRM/TSRM.h

From: Date: Mon, 22 Dec 2014 10:08:52 +0000
Subject: com php-src: use cleaner tsrm_intptr_t/tsrm_uintptr_t typedef: TSRM/TSRM.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-83821@lists.php.net to get a copy of this message
Commit: d59fc5951e112505df86575959b1f9ce0826c9ae Author: Anatol Belski <ab@php.net> Mon, 22 Dec 2014 10:34:44 +0100 Parents: 552c06d439962cc4f949ea2b26ff6067b4260233 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=d59fc5951e112505df86575959b1f9ce0826c9ae Log: use cleaner tsrm_intptr_t/tsrm_uintptr_t typedef Changed paths: M TSRM/TSRM.h Diff: diff --git a/TSRM/TSRM.h b/TSRM/TSRM.h index e634592..3e0d9b8 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

« previous php.cvs (#83821) next »