com php-src: Added PHP_INT_MIN: main/main.c
| From: | ajf@php.net | Date: | Fri, 01 Aug 2014 13:29:50 +0000 |
| Subject: | com php-src: Added PHP_INT_MIN: main/main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79702@lists.php.net to get a copy of this message | ||
Commit: 24d7fc2bbc667d0c9de0a62b60b70ad98b1abca5
Author: Andrea Faulds <ajf@ajf.me> Fri, 1 Aug 2014 14:29:50 +0100
Parents: 1d609d2d262944d5a897a31d49b93f8f732f6a03
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=24d7fc2bbc667d0c9de0a62b60b70ad98b1abca5
Log:
Added PHP_INT_MIN
Changed paths:
M main/main.c
Diff:
diff --git a/main/main.c b/main/main.c
index 6717008..896995b 100644
--- a/main/main.c
+++ b/main/main.c
@@ -2195,6 +2195,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry
*additional_mod
REGISTER_MAIN_STRINGL_CONSTANT("PHP_EOL", PHP_EOL, sizeof(PHP_EOL)-1, CONST_PERSISTENT |
CONST_CS);
REGISTER_MAIN_LONG_CONSTANT("PHP_MAXPATHLEN", MAXPATHLEN, CONST_PERSISTENT | CONST_CS);
REGISTER_MAIN_LONG_CONSTANT("PHP_INT_MAX", LONG_MAX, CONST_PERSISTENT | CONST_CS);
+ REGISTER_MAIN_LONG_CONSTANT("PHP_INT_MIN", LONG_MIN, CONST_PERSISTENT | CONST_CS);
REGISTER_MAIN_LONG_CONSTANT("PHP_INT_SIZE", sizeof(long), CONST_PERSISTENT | CONST_CS);
#ifdef PHP_WIN32