com php-src: renamed the compat macros: compat/compat.h
| From: | Anatol Belski | Date: | Wed, 22 Jan 2014 13:51:47 +0000 |
| Subject: | com php-src: renamed the compat macros: compat/compat.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-75758@lists.php.net to get a copy of this message | ||
Commit: 374a796daa24807eef1db265364d6c959a694329
Author: Anatol Belski <ab@php.net> Wed, 22 Jan 2014 14:51:47 +0100
Parents: bb45daeb757a7368964dc1175fb4afdf63f71684
Branches: str_size_and_int64
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=374a796daa24807eef1db265364d6c959a694329
Log:
renamed the compat macros
Changed paths:
M compat/compat.h
Diff:
diff --git a/compat/compat.h b/compat/compat.h
index 0ef54f1..ddd9739 100644
--- a/compat/compat.h
+++ b/compat/compat.h
@@ -22,9 +22,9 @@
#define PHP_SIZE_INT_COMPAT_H
/* XXX change the check accordingly to the vote results */
-#define PHP_NEED_COMPAT (PHP_MAJOR_VERSION < 5) || (PHP_MAJOR_VERSION == 5 &&
PHP_MINOR_VERSION < 6)
+#define PHP_NEED_STRSIZE_COMPAT (PHP_MAJOR_VERSION < 5) || (PHP_MAJOR_VERSION == 5 &&
PHP_MINOR_VERSION < 6)
-#if PHP_NEED_COMPAT || PHP_FORCE_COMPAT
+#if PHP_NEED_STRSIZE_COMPAT || PHP_FORCE_STRSIZE_COMPAT
typedef long zend_int_t;
typedef unsigned long zend_uint_t;