From e6218d071db46cbf98486f97b238cccf78c4aefa Mon Sep 17 00:00:00 2001 From: Blair Sadewitz Date: Tue, 15 Jul 2008 17:06:17 -0600 Subject: [PATCH] mesa: check for __INTERIX to typedef uintptr_t --- src/mesa/main/glheader.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 #endif -- 2.30.2