From: Andi Gutmans Date: Thu, 10 Aug 2000 19:38:29 +0000 (+0000) Subject: - Move compat macros to php3_compat.h X-Git-Tag: php-4.0.2RC1~155 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=26300a8ebf2499dd576ec749906ce9d991b4d461;p=php - Move compat macros to php3_compat.h --- diff --git a/main/php.h b/main/php.h index db43b606e1..0fa464dc14 100644 --- a/main/php.h +++ b/main/php.h @@ -140,11 +140,6 @@ typedef unsigned int socklen_t; #include "zend_alloc.h" #include "zend_stack.h" -typedef zval pval; - -#define pval_copy_constructor zval_copy_ctor -#define pval_destructor zval_dtor - #if STDC_HEADERS # include #else diff --git a/main/php3_compat.h b/main/php3_compat.h index 3171aea5d6..4093a79a90 100644 --- a/main/php3_compat.h +++ b/main/php3_compat.h @@ -1,6 +1,11 @@ #ifndef PHP3_COMPAT_H #define PHP3_COMPAT_H +typedef zval pval; + +#define pval_copy_constructor zval_copy_ctor +#define pval_destructor zval_dtor + #define _php3_hash_init zend_hash_init #define _php3_hash_destroy zend_hash_destroy