diff options
author | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-03-23 12:42:20 +0700 |
---|---|---|
committer | Bruce Mitchener <bruce.mitchener@gmail.com> | 2013-03-23 12:46:34 +0700 |
commit | bc2c6ba21551f54c42047b01beeccf9daae7a03a (patch) | |
tree | d6b11811686b9b5c15925e83369352ec7152e53f /system/include/libc/_ansi.h | |
parent | f99012f271c056ddc171f6a4ec011ad31ad936cd (diff) |
Re-instate _ATTRIBUTE() usages.
These were broken because the definition of _ATTRIBUTE() from
libcxx was different, so change the libc definition and usage
to match.
Fixes issue #992.
Diffstat (limited to 'system/include/libc/_ansi.h')
-rw-r--r-- | system/include/libc/_ansi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/system/include/libc/_ansi.h b/system/include/libc/_ansi.h index 8548e0fe..c38e22e8 100644 --- a/system/include/libc/_ansi.h +++ b/system/include/libc/_ansi.h @@ -105,9 +105,9 @@ #ifndef _ATTRIBUTE /* XXX Emscripten */ #ifdef __GNUC__ -#define _ATTRIBUTE(attrs) __attribute__ (attrs) +#define _ATTRIBUTE(attr) __attribute__ ((attr)) #else -#define _ATTRIBUTE(attrs) +#define _ATTRIBUTE(attr) #endif #endif /* XXX Emscripten */ |