Check for __USE_MISC for defining uint & ushort
authorAlan Hourihane <alanh@vmware.com>
Tue, 26 Jan 2010 20:57:03 +0000 (20:57 +0000)
committerAlan Hourihane <alanh@vmware.com>
Tue, 26 Jan 2010 20:59:11 +0000 (20:59 +0000)
src/gallium/include/pipe/p_compiler.h

index 272d030..6a9018a 100644 (file)
@@ -63,7 +63,7 @@
 #include <stdbool.h>
 
 
-#ifndef __HAIKU__
+#if !defined(__HAIKU__) && !defined(__USE_MISC)
 typedef unsigned int       uint;
 typedef unsigned short     ushort;
 #endif