diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-11 12:29:23 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-11 12:29:23 +0100 |
commit | 407f9b8fde3ad9cc55f39f7a548cde6056dab494 (patch) | |
tree | 0375ea8ddab3502bf6883066f43fc7e328d5c704 /package/jamvm/patches/patch-src_os_linux_os_c | |
parent | 2ecefcf609e484d04d1546581191831e07ad71ec (diff) | |
parent | abb858ae43374dc13a5fcef19b9e0ba9442013bb (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/jamvm/patches/patch-src_os_linux_os_c')
-rw-r--r-- | package/jamvm/patches/patch-src_os_linux_os_c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/package/jamvm/patches/patch-src_os_linux_os_c b/package/jamvm/patches/patch-src_os_linux_os_c new file mode 100644 index 000000000..a867841e3 --- /dev/null +++ b/package/jamvm/patches/patch-src_os_linux_os_c @@ -0,0 +1,17 @@ +--- jamvm-1.5.4.orig/src/os/linux/os.c 2009-12-31 19:40:48.000000000 +0100 ++++ jamvm-1.5.4/src/os/linux/os.c 2013-12-25 16:43:03.000000000 +0100 +@@ -46,10 +46,12 @@ void *nativeStackBase() { + } + + int nativeAvailableProcessors() { +-#ifdef __UCLIBC__ ++#if defined(__UCLIBC__) + return 1; +-#else ++#elif defined(__GLIBC__) + return get_nprocs(); ++#else ++ return 1; + #endif + } + |