From e8fe8f9d99f848ca8b41d1f86485bd6e860b86e3 Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Wed, 18 Jul 2001 22:54:55 +0000 Subject: [PATCH] Provide typedefs for php_int32 --- ext/standard/basic_functions.h | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.50.1