summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_compiler.h
diff options
context:
space:
mode:
authorAlan Hourihane <[email protected]>2010-01-26 20:57:03 +0000
committerAlan Hourihane <[email protected]>2010-01-26 20:59:11 +0000
commit46f453b29890afebb49daa04e0dbeadc45e662c2 (patch)
treea25351756c502cdd6c78105e458a553b661b9d04 /src/gallium/include/pipe/p_compiler.h
parent43867acb6afc7fad26cdc2f22b2a3bb6eeefb2da (diff)
Check for __USE_MISC for defining uint & ushort
Diffstat (limited to 'src/gallium/include/pipe/p_compiler.h')
-rw-r--r--src/gallium/include/pipe/p_compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_compiler.h b/src/gallium/include/pipe/p_compiler.h
index 272d0308cc1..6a9018aa3a0 100644
--- a/src/gallium/include/pipe/p_compiler.h
+++ b/src/gallium/include/pipe/p_compiler.h
@@ -63,7 +63,7 @@
#include <stdbool.h>
-#ifndef __HAIKU__
+#if !defined(__HAIKU__) && !defined(__USE_MISC)
typedef unsigned int uint;
typedef unsigned short ushort;
#endif