diff options
author | Karl Williamson <khw@cpan.org> | 2017-04-20 10:16:11 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2017-06-02 12:47:18 -0600 |
commit | 6a5bc5acd0f35a93138716f5c3681baa1e139c65 (patch) | |
tree | ce611dc3dd62d8e879ea0fe2c9bfe369733a916b /ebcdic_tables.h | |
parent | b063b0a874bbc4724894885b0a633865675db9ff (diff) | |
download | perl-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 'ebcdic_tables.h')
-rw-r--r-- | ebcdic_tables.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ebcdic_tables.h b/ebcdic_tables.h index c36ab961f0..69ab372d11 100644 --- a/ebcdic_tables.h +++ b/ebcdic_tables.h @@ -5,8 +5,8 @@ */ -#ifndef H_EBCDIC_TABLES /* Guard against nested #includes */ -#define H_EBCDIC_TABLES 1 +#ifndef PERL_EBCDIC_TABLES_H_ /* Guard against nested #includes */ +#define PERL_EBCDIC_TABLES_H_ 1 /* This file contains definitions for various tables used in EBCDIC handling. * More info is in utfebcdic.h */ @@ -437,6 +437,6 @@ EXTCONST U8 PL_fold_latin1[] = { #endif /* EBCDIC 037 */ -#endif /* H_EBCDIC_TABLES */ +#endif /* PERL_EBCDIC_TABLES_H_ */ /* ex: set ro: */ |