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 272d0308cc1cde1ed7b57fedca6dd5f85dc64926..6a9018aa3a021b24f21210ae6691513bb468cf69 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