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 /time64.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 'time64.h')
-rw-r--r-- | time64.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,8 +1,8 @@ #include <time.h> #include "time64_config.h" -#ifndef TIME64_H -# define TIME64_H +#ifndef PERL_TIME64_H_ +# define PERL_TIME64_H_ /* Set our custom types */ |