mirror of
https://github.com/php/php-src.git
synced 2026-04-21 15:08:16 +02:00
Make sure uint et al are undefined before typedefing them
This commit is contained in:
@@ -250,8 +250,12 @@ int __void__;
|
||||
#endif
|
||||
|
||||
#if defined(__EMX__) || !defined(HAVE_UINT)
|
||||
#undef uint
|
||||
#undef ushort
|
||||
#undef ulong
|
||||
typedef unsigned int uint;
|
||||
typedef unsigned short ushort;
|
||||
typedef unsigned long ulong;
|
||||
#endif
|
||||
|
||||
#define sgn(a) (((a) < 0) ? -1 : ((a) > 0) ? 1 : 0)
|
||||
|
||||
Reference in New Issue
Block a user