summaryrefslogtreecommitdiff
path: root/src/data_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data_config.c')
-rw-r--r--src/data_config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data_config.c b/src/data_config.c
index 3fcd2685..be49d6cc 100644
--- a/src/data_config.c
+++ b/src/data_config.c
@@ -31,7 +31,7 @@ static void data_config_free(data_unset *d) {
vector_config_weak_clear(&ds->children);
if (ds->string) buffer_free(ds->string);
-#ifdef HAVE_PCRE_H
+#if defined(WITH_PCRE)
if (ds->regex) pcre_free(ds->regex);
if (ds->regex_study) pcre_free(ds->regex_study);
#endif