aboutsummaryrefslogtreecommitdiffstats
path: root/src/java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2019-12-10 18:59:30 +0100
committerSven Gothel <[email protected]>2019-12-10 18:59:30 +0100
commit19761070e12f65fe7a07e6d9b7a5221a1623b12d (patch)
tree3a5a475e34d4a9bb8d3e52c0c7d7375c2a8c6cdf /src/java
parent4f7273e017e2deb2928a76066604ced03609f921 (diff)
Bug 1417 - Android: Add new x86 MachineDataInfo, differs due to smaller 'long double' than regular x86_32_unix
Diffstat (limited to 'src/java')
-rw-r--r--src/java/com/jogamp/common/os/MachineDataInfo.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/java/com/jogamp/common/os/MachineDataInfo.java b/src/java/com/jogamp/common/os/MachineDataInfo.java
index d6fa28c..7ea8b86 100644
--- a/src/java/com/jogamp/common/os/MachineDataInfo.java
+++ b/src/java/com/jogamp/common/os/MachineDataInfo.java
@@ -58,6 +58,7 @@ public class MachineDataInfo {
/* arch os int, long, float, doubl, ldoubl, ptr, page */
private final static int[] size_arm_mips_32 = { 4, 4, 4, 8, 8, 4, 4096 };
private final static int[] size_x86_32_unix = { 4, 4, 4, 8, 12, 4, 4096 };
+ private final static int[] size_x86_32_android = { 4, 4, 4, 8, 8, 4, 4096 };
private final static int[] size_x86_32_macos = { 4, 4, 4, 8, 16, 4, 4096 };
private final static int[] size_ppc_32_unix = { 4, 4, 4, 8, 16, 4, 4096 };
private final static int[] size_sparc_32_sunos = { 4, 4, 4, 8, 16, 4, 8192 };
@@ -100,6 +101,8 @@ public class MachineDataInfo {
ARM_MIPS_32( size_arm_mips_32, align_arm_mips_32),
/** {@link Platform.CPUType#X86_32} Unix */
X86_32_UNIX( size_x86_32_unix, align_x86_32_unix),
+ /** {@link Platform.CPUType#X86_32} Android/Bionic */
+ X86_32_ANDROID( size_x86_32_android, align_x86_32_unix),
/** {@link Platform.CPUType#X86_32} MacOS (Special case gcc4/OSX) */
X86_32_MACOS( size_x86_32_macos, align_x86_32_macos),
/** {@link Platform.CPUType#PPC} Unix */