about summary refs log tree commit diff
path: root/posix/regex_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r--posix/regex_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 214f7af6c0..ea9a30c16e 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -107,9 +107,9 @@
 #endif /* not _LIBC */
 
 #ifdef __GNUC__
-# define __attribute __attribute__
+# define __attribute(arg) __attribute__ (arg)
 #else
-# define __attribute
+# define __attribute(arg)
 #endif
 
 extern const char __re_error_msgid[] attribute_hidden;