summaryrefslogtreecommitdiffstats
path: root/src/sord_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sord_validate.c')
-rw-r--r--src/sord_validate.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/sord_validate.c b/src/sord_validate.c
index 6d40138..18f7486 100644
--- a/src/sord_validate.c
+++ b/src/sord_validate.c
@@ -9,8 +9,17 @@
#include "sord_config.h"
#if USE_PCRE2
+# if defined(__clang__)
+# pragma clang diagnostic push
+# pragma clang diagnostic ignored "-Wdisabled-macro-expansion"
+# endif
+
# define PCRE2_CODE_UNIT_WIDTH 8
# include <pcre2.h>
+
+# if defined(__clang__)
+# pragma clang diagnostic pop
+# endif
#endif
#ifdef _WIN32