summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Jones <sixd@php.net>2016-08-16 16:58:20 +1000
committerChristopher Jones <sixd@php.net>2016-08-16 16:58:20 +1000
commit51c1b64fa9aa7e7f43611c388350365e0bbff892 (patch)
treebb61ff19a4fab951ba69f7d0a03cca8795259b5f
parent60de74ebdae5cf8b14f85d6e60f519c9e8b966f9 (diff)
downloadphp-git-51c1b64fa9aa7e7f43611c388350365e0bbff892.tar.gz
Remove unused OCI8 macros
-rw-r--r--ext/oci8/oci8.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c
index 488b3b42aa..0527b55847 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);