[Mesa-dev] [PATCH 06/15] main: Remove problematic #include on Android
Chad Versace
chad at chad-versace.us
Thu Aug 4 02:47:15 PDT 2011
Remove ``#include <fpu_control.h>`` from compiler.h.
Note: This is in preparation for porting i965 to Android.
CC: Chia-I Wu <olv at lunarg.com>,
CC: Chih-Wei Huang <cwhuang at android-x86.org>
Signed-off-by: Chad Versace <chad at chad-versace.us>
---
src/mesa/main/compiler.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index d736fdf..3981644 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -45,7 +45,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#if defined(__linux__) && defined(__i386__)
+#if defined(__linux__) && defined(__i386__) && !defined(ANDROID)
#include <fpu_control.h>
#endif
#include <float.h>
--
1.7.6
More information about the mesa-dev
mailing list