From: John Hodge Date: Tue, 5 Mar 2013 08:31:11 +0000 (+0800) Subject: Usermode/libc - Fixed setjmp.h relying on __is_ARCHDIR_*_ X-Git-Tag: rel0.15~536 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=118669adf9a97e80a95ef25a1e5bbc4740ac690e;p=tpg%2Facess2.git Usermode/libc - Fixed setjmp.h relying on __is_ARCHDIR_*_ - Switched to __i386__ and __amd64__ --- diff --git a/Usermode/Libraries/libc.so_src/include_exp/setjmp.h b/Usermode/Libraries/libc.so_src/include_exp/setjmp.h index 2e59c6d2..fe545af2 100644 --- a/Usermode/Libraries/libc.so_src/include_exp/setjmp.h +++ b/Usermode/Libraries/libc.so_src/include_exp/setjmp.h @@ -8,9 +8,9 @@ #ifndef _LIBC_SETJMP_H_ #define _LIBC_SETJMP_H_ -#if ARCHDIR_is_x86 +#if defined(__i386__) typedef void *jmp_buf[8]; -#elif ARCHDIR_is_x86_64 +#elif defined(__amd64__) typedef void *jmp_buf[16]; #else # error "Unknown Architecture"