[Mesa-dev] [PATCH] mesa: Do not include fpu_control.h

Chad Versace chad at chad-versace.us
Mon Aug 15 11:26:51 PDT 2011


Remove the inclusion of fpu_control.h from compiler.h.  Since compiler.h
uses no symbol from fpu_control.h, the removal is safe.

Since Bionic lacks fpu_control.h, its inclusion breaks the Android build.

Signed-off-by: Chad Versace <chad at chad-versace.us>
---
 src/mesa/main/compiler.h |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/compiler.h b/src/mesa/main/compiler.h
index ee7d0b2..8ed1c6f 100644
--- a/src/mesa/main/compiler.h
+++ b/src/mesa/main/compiler.h
@@ -45,9 +45,6 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
-#if defined(__linux__) && defined(__i386__)
-#include <fpu_control.h>
-#endif
 #include <float.h>
 #include <stdarg.h>
 
-- 
1.7.6



More information about the mesa-dev mailing list