summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/shared/macro.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/macro.h b/src/shared/macro.h
index 6aa6d98913..fcc988a2b5 100644
--- a/src/shared/macro.h
+++ b/src/shared/macro.h
@@ -119,7 +119,7 @@ static inline size_t ALIGN_TO(size_t l, size_t ali) {
#else
#define assert_cc(expr) \
DISABLE_WARNING_DECLARATION_AFTER_STATEMENT; \
- struct CONCATENATE(_assert_struct_, __LINE__) { \
+ struct CONCATENATE(_assert_struct_, __COUNTER__) { \
char x[(expr) ? 0 : -1]; \
}; \
REENABLE_WARNING