summaryrefslogtreecommitdiff
path: root/altosui/Altos.java
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2011-08-21 22:52:45 -0700
committerKeith Packard <keithp@keithp.com>2011-08-22 17:20:06 -0700
commit393d231b9689cd1c358600ee76e0e808f89670c8 (patch)
tree051222cd385a6b2a966e63bde186aaa7a145ea8c /altosui/Altos.java
parentd5bd40847b17c32405dfba864a2a5a3b19aa7e85 (diff)
altosui: Attempt to make both 32- and 64-bit windows DLLs
We'll see if they work... Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'altosui/Altos.java')
-rw-r--r--altosui/Altos.java8
1 files changed, 7 insertions, 1 deletions
diff --git a/altosui/Altos.java b/altosui/Altos.java
index d3f8fa67..ddf1005a 100644
--- a/altosui/Altos.java
+++ b/altosui/Altos.java
@@ -366,7 +366,13 @@ public class Altos {
libaltos.altos_init();
loaded_library = true;
} catch (UnsatisfiedLinkError e) {
- loaded_library = false;
+ try {
+ System.loadLibrary("altos64");
+ libaltos.altos_init();
+ loaded_library = true;
+ } catch (UnsatisfiedLinkError e2) {
+ loaded_library = false;
+ }
}
initialized = true;
}