aboutsummaryrefslogtreecommitdiff
path: root/system/include/libc
diff options
context:
space:
mode:
authorBenoitT <benoit.tremblay@frimastudio.com>2011-10-21 14:29:00 -0300
committerBenoitT <benoit.tremblay@frimastudio.com>2011-10-21 14:29:00 -0300
commitcbdb76d46c0c2605ba426ba86fd322f3c2393f9b (patch)
treec7df01b9cd678968133ee83bd682fe576a4599e1 /system/include/libc
parentae16fda469ec2db1ebfe4fe22ea090ca75bcddfa (diff)
Removed an anoying warning
Diffstat (limited to 'system/include/libc')
-rw-r--r--system/include/libc/_ansi.h2
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