summaryrefslogtreecommitdiff
path: root/perliol.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 /perliol.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 'perliol.h')
-rw-r--r--perliol.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/perliol.h b/perliol.h
index d15c937150..40b4224e50 100644
--- a/perliol.h
+++ b/perliol.h
@@ -1,5 +1,5 @@
-#ifndef _PERLIOL_H
-#define _PERLIOL_H
+#ifndef PERLIOL_H_
+#define PERLIOL_H_
typedef struct {
PerlIO_funcs *funcs;
@@ -286,7 +286,7 @@ PERL_CALLCONV SSize_t PerlIOUnix_write(pTHX_ PerlIO *f, const void *vbuf, Size
/* Utf8 */
PERL_CALLCONV IV PerlIOUtf8_pushed(pTHX_ PerlIO *f, const char *mode, SV *arg, PerlIO_funcs *tab);
-#endif /* _PERLIOL_H */
+#endif /* PERLIOL_H_ */
/*
* ex: set ts=8 sts=4 sw=4 et: