summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scope.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scope.h b/scope.h
index ba74c8bff5..f38e7edb55 100644
--- a/scope.h
+++ b/scope.h
@@ -208,11 +208,11 @@ scope has the given name. C<name> must be a literal string.
STMT_START { \
DEBUG_SCOPE("LEAVE \"" name "\"") \
if (PL_scopestack_name) { \
- GCC_DIAG_IGNORE_STMT(-Wstring-compare); \
+ CLANG_DIAG_IGNORE_STMT(-Wstring-compare); \
assert(((char*)PL_scopestack_name[PL_scopestack_ix-1] \
== (char*)name) \
|| strEQ(PL_scopestack_name[PL_scopestack_ix-1], name)); \
- GCC_DIAG_RESTORE_STMT; \
+ CLANG_DIAG_RESTORE_STMT; \
} \
pop_scope(); \
} STMT_END