diff options
author | Blair Sadewitz <[email protected]> | 2008-07-15 17:06:17 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-07-15 17:06:17 -0600 |
commit | e6218d071db46cbf98486f97b238cccf78c4aefa (patch) | |
tree | 0a284355e9fad3fb607bd20b6bd00825bf8129aa /src/mesa/main/glheader.h | |
parent | 546c7fb221e2d0b7e56fb390f6e911a5f515328c (diff) |
mesa: check for __INTERIX to typedef uintptr_t
Diffstat (limited to 'src/mesa/main/glheader.h')
-rw-r--r-- | src/mesa/main/glheader.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 533e4a2bd8d..6f3b2089c33 100644 --- a/src/mesa/main/glheader.h +++ b/src/mesa/main/glheader.h @@ -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 |