aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-7-03b21/icedtea-unbreak-float.patch
blob: b5219da366d886779ccb1aadc548e91967f6247b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
+++ openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h
@@ -26,13 +26,11 @@
 
 #include "jfdlibm.h"
 
-#ifdef __NEWVALID       /* special setup for Sun test regime */
 #if defined(i386) || defined(i486) || \
     defined(intel) || defined(x86) || defined(arm) || \
     defined(i86pc) || defined(_M_IA64) || defined(ia64)
 #define _LITTLE_ENDIAN
 #endif
-#endif
 
 #ifdef _LITTLE_ENDIAN
 #define __HI(x) *(1+(int*)&x)