summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regenc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/regenc.h b/regenc.h
index b353ae0f9e..4b4d21a715 100644
--- a/regenc.h
+++ b/regenc.h
@@ -118,8 +118,10 @@ typedef struct {
typedef struct {
short int len;
-#if defined(__has_attribute) && __has_attribute(nonstring)
+#if defined(__has_attribute)
+# if __has_attribute(nonstring)
__attribute__((nonstring))
+# endif
#endif
const UChar name[6];
int ctype;