diff options
author | Karl Williamson <public@khwilliamson.com> | 2012-10-16 09:58:24 -0600 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2012-10-16 21:48:37 -0600 |
commit | 57f0e7e230d864f5b78d28bb89545ef671c101a0 (patch) | |
tree | a4a8f2b5483898e05e95bc19283f30200af4ef43 /utf8.h | |
parent | 40b1ba4ffc62ae8198d69e8e3b33cf8201c6a18f (diff) | |
download | perl-57f0e7e230d864f5b78d28bb89545ef671c101a0.tar.gz |
utf8.h: Add guard against recursive #include
A future commit will #include this from another header
Diffstat (limited to 'utf8.h')
-rw-r--r-- | utf8.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -8,6 +8,9 @@ * */ +#ifndef H_UTF8 /* Guard against recursive inclusion */ +#define H_UTF8 1 + /* Use UTF-8 as the default script encoding? * Turning this on will break scripts having non-UTF-8 binary * data (such as Latin-1) in string literals. */ @@ -514,6 +517,8 @@ Perl's extended UTF-8 means we can have start bytes up to FF. # define IS_UTF8_CHAR_FAST(n) ((n) <= 4) #endif +#endif /* H_UTF8 */ + /* * Local variables: * c-indentation-style: bsd |