summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-08-10 19:38:29 +0000
committerAndi Gutmans <andi@php.net>2000-08-10 19:38:29 +0000
commit26300a8ebf2499dd576ec749906ce9d991b4d461 (patch)
treeaa8ae5ea90ddde06a4c353bda1a83a9a31835e60
parent34bee836b13deee171c130b7896fe163a7e9ee4d (diff)
downloadphp-git-26300a8ebf2499dd576ec749906ce9d991b4d461.tar.gz
- Move compat macros to php3_compat.h
-rw-r--r--main/php.h5
-rw-r--r--main/php3_compat.h5
2 files changed, 5 insertions, 5 deletions
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 <string.h>
#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