diff options
author | Alon Zakai <alonzakai@gmail.com> | 2011-10-23 15:33:46 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2011-10-23 15:33:46 -0700 |
commit | aee12b961de382268e54a52fdfe397b04f5f57de (patch) | |
tree | 3f68cbfc76f4ef23a154cc732564d0f222b56236 /system/include/libc/_ansi.h | |
parent | 0e0ad51a8dc8d692b7c7b08da91b95c357cbfcb4 (diff) | |
parent | cbdb76d46c0c2605ba426ba86fd322f3c2393f9b (diff) |
Merge pull request #101 from BenoitT/master
Fixed ios compilation problem
Diffstat (limited to 'system/include/libc/_ansi.h')
-rw-r--r-- | system/include/libc/_ansi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/system/include/libc/_ansi.h b/system/include/libc/_ansi.h index e584ec38..8548e0fe 100644 --- a/system/include/libc/_ansi.h +++ b/system/include/libc/_ansi.h @@ -103,11 +103,13 @@ /* Support gcc's __attribute__ facility. */ +#ifndef _ATTRIBUTE /* XXX Emscripten */ #ifdef __GNUC__ #define _ATTRIBUTE(attrs) __attribute__ (attrs) #else #define _ATTRIBUTE(attrs) #endif +#endif /* XXX Emscripten */ /* The traditional meaning of 'extern inline' for GCC is not to emit the function body unless the address is explicitly |