1
0
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:
Alex Waugh
2001-11-04 12:38:33 +00:00
parent bc26250413
commit 0bdd62c8ac
+4
View File
@@ -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)