diff options
| author | foobar <sniper@php.net> | 2005-02-17 04:44:52 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2005-02-17 04:44:52 +0000 |
| commit | 640bc001e5a60607ce7821c2dcd3871057971675 (patch) | |
| tree | 602c169779384d8fd13694ca7b45e408b11326f2 /Zend/zend_strtod.c | |
| parent | ed9e8c7c81900e444e4d4a8d5ed6240760365c09 (diff) | |
| download | php-git-640bc001e5a60607ce7821c2dcd3871057971675.tar.gz | |
- Compile fix for systems without int32_t typedef
Diffstat (limited to 'Zend/zend_strtod.c')
| -rw-r--r-- | Zend/zend_strtod.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Zend/zend_strtod.c b/Zend/zend_strtod.c index cd60232c1b..87d755006a 100644 --- a/Zend/zend_strtod.c +++ b/Zend/zend_strtod.c @@ -101,6 +101,14 @@ #include <stdint.h> #endif +#ifndef HAVE_INT32_T +# if SIZEOF_INT == 4 +typedef int int32_t; +# elif SIZEOF_LONG == 4 +typedef long int int32_t; +# endif +#endif + #ifndef HAVE_UINT32_T # if SIZEOF_INT == 4 typedef unsigned int uint32_t; |
