com php-src: Remove unused OCI8 macros: ext/oci8/oci8.c

From: Date: Tue, 16 Aug 2016 06:58:20 +0000
Subject: com php-src: Remove unused OCI8 macros: ext/oci8/oci8.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-93796@lists.php.net to get a copy of this message
Commit: 51c1b64fa9aa7e7f43611c388350365e0bbff892 Author: Christopher Jones <sixd@php.net> Tue, 16 Aug 2016 16:58:20 +1000 Parents: 60de74ebdae5cf8b14f85d6e60f519c9e8b966f9 Branches: PHP-7.1 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=51c1b64fa9aa7e7f43611c388350365e0bbff892 Log: Remove unused OCI8 macros Changed paths: M ext/oci8/oci8.c Diff: diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index 488b3b4..0527b55 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -49,20 +49,6 @@ #include "php_oci8_int.h" #include "zend_hash.h" -#if defined(__PTRDIFF_TYPE__) -# define OCI8_INT_TO_PTR(I) ((void*)(__PTRDIFF_TYPE__)(I)) -# define OCI8_PTR_TO_INT(P) ((int)(__PTRDIFF_TYPE__)(P)) -#elif !defined(__GNUC__) -#define OCI8_INT_TO_PTR(I) ((void*)&((char*)0)[I]) -#define OCI8_PTR_TO_INT(P) ((int)(((char*)P)-(char*)0)) -#elif defined(HAVE_STDINT_H) -#define OCI8_INT_TO_PTR(I) ((void*)(intptr_t)(I)) -#define OCI8_PTR_TO_INT(P) ((int)(intptr_t)(P)) -#else -#define OCI8_INT_TO_PTR(I) ((void*)(I)) -#define OCI8_PTR_TO_INT(P) ((int)(P)) -#endif - ZEND_DECLARE_MODULE_GLOBALS(oci) static PHP_GINIT_FUNCTION(oci); static PHP_GSHUTDOWN_FUNCTION(oci);

« previous php.cvs (#93796) next »