summaryrefslogtreecommitdiff
path: root/unicode_constants.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2017-04-20 10:16:11 -0600
committerKarl Williamson <khw@cpan.org>2017-06-02 12:47:18 -0600
commit6a5bc5acd0f35a93138716f5c3681baa1e139c65 (patch)
treece611dc3dd62d8e879ea0fe2c9bfe369733a916b /unicode_constants.h
parentb063b0a874bbc4724894885b0a633865675db9ff (diff)
downloadperl-6a5bc5acd0f35a93138716f5c3681baa1e139c65.tar.gz
Use new paradigm for hdr file double inclusion guard
We changed to use symbols not likely to be used by non-Perl code that could conflict, and which have trailing underbars, so they don't look like a regular Perl #define. See https://rt.perl.org/Ticket/Display.html?id=131110 There are many more header files which are not guarded.
Diffstat (limited to 'unicode_constants.h')
-rw-r--r--unicode_constants.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/unicode_constants.h b/unicode_constants.h
index 1c0e62e356..318b9015ae 100644
--- a/unicode_constants.h
+++ b/unicode_constants.h
@@ -5,8 +5,8 @@
*/
-#ifndef H_UNICODE_CONSTANTS /* Guard against nested #includes */
-#define H_UNICODE_CONSTANTS 1
+#ifndef PERL_UNICODE_CONSTANTS_H_ /* Guard against nested #includes */
+#define PERL_UNICODE_CONSTANTS_H_ 1
/* This file contains #defines for the version of Unicode being used and
* various Unicode code points. The values the code point macros expand to
@@ -182,6 +182,6 @@ bytes.
/* The highest code point that has any type of case change */
#define HIGHEST_CASE_CHANGING_CP_FOR_USE_ONLY_BY_UTF8_DOT_C 0x1E943
-#endif /* H_UNICODE_CONSTANTS */
+#endif /* PERL_UNICODE_CONSTANTS_H_ */
/* ex: set ro: */