From e6218d071db46cbf98486f97b238cccf78c4aefa Mon Sep 17 00:00:00 2001 From: Blair Sadewitz Date: Tue, 15 Jul 2008 17:06:17 -0600 Subject: mesa: check for __INTERIX to typedef uintptr_t --- src/mesa/main/glheader.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/mesa/main/glheader.h') diff --git a/src/mesa/main/glheader.h b/src/mesa/main/glheader.h index 533e4a2bd8..6f3b2089c3 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 #endif -- cgit v1.2.3