diff options
author | Sascha Schumann <sas@php.net> | 2001-07-18 22:54:55 +0000 |
---|---|---|
committer | Sascha Schumann <sas@php.net> | 2001-07-18 22:54:55 +0000 |
commit | e8fe8f9d99f848ca8b41d1f86485bd6e860b86e3 (patch) | |
tree | 9c9086ee159fdb533dceb78f2b04022b5328796e /ext | |
parent | eef0dda4da827377d3de987ffedeb398925a104e (diff) | |
download | php-git-e8fe8f9d99f848ca8b41d1f86485bd6e860b86e3.tar.gz |
Provide typedefs for php_int32
Diffstat (limited to 'ext')
-rw-r--r-- | ext/standard/basic_functions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h index 4179dbd0b7..f72c8f77b7 100644 --- a/ext/standard/basic_functions.h +++ b/ext/standard/basic_functions.h @@ -127,9 +127,11 @@ PHPAPI int _php_error_log(int opt_err,char *message,char *opt,char *headers); #if SIZEOF_INT == 4 /* Most 32-bit and 64-bit systems have 32-bit ints */ typedef unsigned int php_uint32; +typedef signed int php_int32; #elif SIZEOF_LONG == 4 /* 16-bit systems? */ typedef unsigned long php_uint32; +typedef signed int php_int32; #else #error Need type which holds 32 bits #endif |