mesa: check for __INTERIX to typedef uintptr_t

This commit is contained in:
Blair Sadewitz 2008-07-15 17:06:17 -06:00 committed by Brian Paul
parent 546c7fb221
commit e6218d071d

View file

@ -72,6 +72,12 @@
# if _MSC_VER == 1200
typedef UINT_PTR uintptr_t;
# endif
#elif defined(__INTERIX)
/* Interix 3.x has a gcc that shadows this. */
# ifndef _UINTPTR_T_DEFINED
typedef unsigned long uintptr_t;
# define _UINTPTR_T_DEFINED
# endif
#else
# include <inttypes.h>
#endif