]> granicus.if.org Git - php/commitdiff
comb that header
authorAnatol Belski <ab@php.net>
Tue, 17 Mar 2015 23:45:37 +0000 (00:45 +0100)
committerAnatol Belski <ab@php.net>
Tue, 17 Mar 2015 23:45:37 +0000 (00:45 +0100)
Zend/zend_strtod_int.h

index 75936af27b6f0a6a675fe93d3ae94f93322d86a4..0a01242188a32961b5f8df56cbec919494f227d8 100644 (file)
@@ -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 */