mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-18 19:10:32 +01:00
mesa: check for __INTERIX to typedef uintptr_t
This commit is contained in:
parent
546c7fb221
commit
e6218d071d
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue