cvs: php4 /ext/standard basic_functions.h
| From: | Sascha Schumann | Date: | Wed, 18 Jul 2001 22:54:55 +0000 |
| Subject: | cvs: php4 /ext/standard basic_functions.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-6258@lists.php.net to get a copy of this message | ||
sas Wed Jul 18 18:54:55 2001 EDT
Modified files:
/php4/ext/standard basic_functions.h
Log:
Provide typedefs for php_int32
Index: php4/ext/standard/basic_functions.h
diff -u php4/ext/standard/basic_functions.h:1.81 php4/ext/standard/basic_functions.h:1.82
--- php4/ext/standard/basic_functions.h:1.81 Mon Jul 9 13:36:04 2001
+++ php4/ext/standard/basic_functions.h Wed Jul 18 18:54:55 2001
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: basic_functions.h,v 1.81 2001/07/09 17:36:04 rasmus Exp $ */
+/* $Id: basic_functions.h,v 1.82 2001/07/18 22:54:55 sas Exp $ */
#ifndef BASIC_FUNCTIONS_H
#define BASIC_FUNCTIONS_H
@@ -127,9 +127,11 @@
#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