Skip to content

Commit 40b08c5

Browse files
committed
add more strict macro definition check
1 parent 0053f5e commit 40b08c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

aco.h

+3
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ struct aco_s{
136136
} \
137137
} while(0)
138138

139+
#if defined(aco_attr_no_asan)
140+
#error "aco_attr_no_asan already defined"
141+
#endif
139142
#if defined(ACO_USE_ASAN)
140143
#if defined(__has_feature)
141144
#if __has_feature(address_sanitizer)

0 commit comments

Comments
 (0)