From: Sascha Schumann Date: Wed, 18 Jul 2001 22:54:55 +0000 (+0000) Subject: Provide typedefs for php_int32 X-Git-Tag: PRE_TSRM_MERGE_PATCH~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e8fe8f9d99f848ca8b41d1f86485bd6e860b86e3;p=php Provide typedefs for php_int32 --- 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