com php-src: comb that header: Zend/zend_strtod_int.h
| From: | Anatol Belski | Date: | Tue, 17 Mar 2015 23:45:37 +0000 |
| Subject: | com php-src: comb that header: Zend/zend_strtod_int.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85586@lists.php.net to get a copy of this message | ||
Commit: 8a8264a29a9921c93a3ef767cd50e2da10484021
Author: Anatol Belski <ab@php.net> Wed, 18 Mar 2015 00:45:37 +0100
Parents: 956bab0566b4b0736fa86209f3c240b6688d9cfc
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=8a8264a29a9921c93a3ef767cd50e2da10484021
Log:
comb that header
Changed paths:
M Zend/zend_strtod_int.h
Diff:
diff --git a/Zend/zend_strtod_int.h b/Zend/zend_strtod_int.h
index 75936af..0a01242 100644
--- a/Zend/zend_strtod_int.h
+++ b/Zend/zend_strtod_int.h
@@ -1,3 +1,23 @@
+/*
+ +----------------------------------------------------------------------+
+ | Zend Engine |
+ +----------------------------------------------------------------------+
+ | Copyright (c) 1998-2013 Zend Technologies Ltd. (http://www.zend.com) |
+ +----------------------------------------------------------------------+
+ | This source file is subject to version 2.00 of the Zend license, |
+ | that is bundled with this package in the file LICENSE, and is |
+ | available through the world-wide-web at the following url: |
+ | http://www.zend.com/license/2_00.txt.
|
+ | If you did not receive a copy of the Zend license and are unable to |
+ | obtain it through the world-wide-web, please send a note to |
+ | license@zend.com so we can mail you a copy immediately. |
+ +----------------------------------------------------------------------+
+ | Authors: Anatol Belski <ab@php.net> |
+ +----------------------------------------------------------------------+
+*/
+
+#ifndef ZEND_STRTOD_INT_H
+#define ZEND_STRTOD_INT_H
#ifdef ZTS
#include <TSRM.h>
@@ -84,9 +104,13 @@ typedef unsigned long int uint32_t;
#endif
#if defined(_MSC_VER)
+#ifndef int32_t
#define int32_t __int32
+#endif
+#ifndef uint32_t
#define uint32_t unsigned __int32
#endif
+#endif
#ifdef ZTS
#define MULTIPLE_THREADS 1
@@ -108,4 +132,5 @@ typedef unsigned long int uint32_t;
#endif
+#endif /* ZEND_STRTOD_INT_H */