Usermode/libc - Fixed setjmp.h relying on __is_ARCHDIR_*_
authorJohn Hodge <[email protected]>
Tue, 5 Mar 2013 08:31:11 +0000 (16:31 +0800)
committerJohn Hodge <[email protected]>
Tue, 5 Mar 2013 08:31:11 +0000 (16:31 +0800)
- Switched to __i386__ and __amd64__

Usermode/Libraries/libc.so_src/include_exp/setjmp.h

index 2e59c6d..fe545af 100644 (file)
@@ -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"

UCC git Repository :: git.ucc.asn.au