summaryrefslogtreecommitdiff
path: root/regcharclass.h
diff options
context:
space:
mode:
authorKarl Williamson <public@khwilliamson.com>2012-08-31 17:41:14 -0600
committerKarl Williamson <public@khwilliamson.com>2012-09-13 21:14:00 -0600
commitd10c72f2acc0f7f1905e3ae965e6125449e9e851 (patch)
treeb548ca223928062c065c48768ab55b6734c4e8df /regcharclass.h
parentc865229611785bcce1879977411c34e80d36659a (diff)
downloadperl-d10c72f2acc0f7f1905e3ae965e6125449e9e851.tar.gz
/regcharclass.pl, utf8_strings.pl: Add guard to .h
Future commits will have other headers #include the headers generated by these programs. It is best to guard against the preprocessor from trying to process these twice
Diffstat (limited to 'regcharclass.h')
-rw-r--r--regcharclass.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/regcharclass.h b/regcharclass.h
index 0399fcaf65..d7db256a3c 100644
--- a/regcharclass.h
+++ b/regcharclass.h
@@ -12,6 +12,10 @@
* Any changes made here will be lost!
*/
+
+#ifndef H_REGCHARCLASS /* Guard against nested #includes */
+#define H_REGCHARCLASS 1
+
/*
LNBREAK: Line Break: \R
@@ -359,4 +363,6 @@
0x2029 == cp ) ) ) ) ) )
+#endif /* H_REGCHARCLASS */
+
/* ex: set ro: */