projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
546c7fb
)
mesa: check for __INTERIX to typedef uintptr_t
author
Blair Sadewitz
<blair.sadewitz@gmail.com>
Tue, 15 Jul 2008 23:06:17 +0000
(17:06 -0600)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 15 Jul 2008 23:06:17 +0000
(17:06 -0600)
src/mesa/main/glheader.h
patch
|
blob
|
history
diff --git
a/src/mesa/main/glheader.h
b/src/mesa/main/glheader.h
index 533e4a2bd8da2798ba9e932c53c067e14264fd03..6f3b2089c33e41a390f15403a2530fd35e1f95ac 100644
(file)
--- 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