Skip to content

Commit 54322f3

Browse files
committed
common: fix cppcheck syntax error
1 parent bd19823 commit 54322f3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/suricata-common.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ extern "C"
5252
void ScanBuildMarkSanitized(const void *);
5353
#endif
5454

55+
#if CPPCHECK == 1
56+
#define __has_feature(x) 0
57+
#endif
5558
#if defined(__has_feature)
5659
#if __has_feature(address_sanitizer)
5760
#define SC_ADDRESS_SANITIZER 1

0 commit comments

Comments
 (0)