summaryrefslogtreecommitdiff
path: root/ext/standard/basic_functions.h
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>1999-12-26 00:18:44 +0000
committerZeev Suraski <zeev@php.net>1999-12-26 00:18:44 +0000
commit90f1218fbb19d3633809dc4733da6b98787d254e (patch)
tree9f34ca52eb33ff1b72656752108d04286bfa75cb /ext/standard/basic_functions.h
parent7d2d48e116077e80e6207f4c93a9ed07e3fa129f (diff)
downloadphp-git-90f1218fbb19d3633809dc4733da6b98787d254e.tar.gz
- Change uint32 to php_uint32 (PostgreSQL defines uint32, and perhaps other packages too)
- PostgreSQL finally compiles&links
Diffstat (limited to 'ext/standard/basic_functions.h')
-rw-r--r--ext/standard/basic_functions.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/standard/basic_functions.h b/ext/standard/basic_functions.h
index 174c64c6ea..17597c34c6 100644
--- a/ext/standard/basic_functions.h
+++ b/ext/standard/basic_functions.h
@@ -115,10 +115,10 @@ typedef int php_stat_len;
#if SIZEOF_INT == 4
/* Most 32-bit and 64-bit systems have 32-bit ints */
-typedef unsigned int uint32;
+typedef unsigned int php_uint32;
#elif SIZEOF_LONG == 4
/* 16-bit systems? */
-typedef unsigned long uint32;
+typedef unsigned long php_uint32;
#else
#error Need type which holds 32 bits
#endif
@@ -148,8 +148,8 @@ typedef struct {
struct stat lsb;
/* rand.c */
- uint32 state[MT_N+1]; /* state vector + 1 extra to not violate ANSI C */
- uint32 *next; /* next random value is computed from here */
+ php_uint32 state[MT_N+1]; /* state vector + 1 extra to not violate ANSI C */
+ php_uint32 *next; /* next random value is computed from here */
int left; /* can *next++ this many times before reloading */
} php_basic_globals;