diff options
Diffstat (limited to 'recipes-core/openjdk/openjdk-7-03b21/icedtea-unbreak-float.patch')
-rw-r--r-- | recipes-core/openjdk/openjdk-7-03b21/icedtea-unbreak-float.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes-core/openjdk/openjdk-7-03b21/icedtea-unbreak-float.patch b/recipes-core/openjdk/openjdk-7-03b21/icedtea-unbreak-float.patch new file mode 100644 index 0000000..b5219da --- /dev/null +++ b/recipes-core/openjdk/openjdk-7-03b21/icedtea-unbreak-float.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | --- openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h | ||
2 | +++ openjdk/jdk/src/share/native/java/lang/fdlibm/include/fdlibm.h | ||
3 | @@ -26,13 +26,11 @@ | ||
4 | |||
5 | #include "jfdlibm.h" | ||
6 | |||
7 | -#ifdef __NEWVALID /* special setup for Sun test regime */ | ||
8 | #if defined(i386) || defined(i486) || \ | ||
9 | defined(intel) || defined(x86) || defined(arm) || \ | ||
10 | defined(i86pc) || defined(_M_IA64) || defined(ia64) | ||
11 | #define _LITTLE_ENDIAN | ||
12 | #endif | ||
13 | -#endif | ||
14 | |||
15 | #ifdef _LITTLE_ENDIAN | ||
16 | #define __HI(x) *(1+(int*)&x) | ||