summaryrefslogtreecommitdiff
path: root/pcre-inc.h
diff options
context:
space:
mode:
Diffstat (limited to 'pcre-inc.h')
-rw-r--r--pcre-inc.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/pcre-inc.h b/pcre-inc.h
index 44088ec..3d8f3b9 100644
--- a/pcre-inc.h
+++ b/pcre-inc.h
@@ -1,3 +1,11 @@
+// includes pcre2.h with the appropriate preprocessor definitions.
+// do not include pcre2.h directly.
+
+#ifndef PCRE_INC_H_
+#define PCRE_INC_H_
+
#define PCRE2_STATIC
#define PCRE2_CODE_UNIT_WIDTH 32
#include <pcre2.h>
+
+#endif // PCRE_INC_H_