This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
handy.h: Guard against recursive #inclusion
authorKarl Williamson <public@khwilliamson.com>
Wed, 12 Dec 2012 03:34:31 +0000 (20:34 -0700)
committerKarl Williamson <public@khwilliamson.com>
Sat, 22 Dec 2012 18:11:26 +0000 (11:11 -0700)
handy.h

diff --git a/handy.h b/handy.h
index 9f67d44..17379db 100644 (file)
--- a/handy.h
+++ b/handy.h
@@ -8,6 +8,9 @@
  *
  */
 
+#ifndef HANDY_H /* Guard against nested #inclusion */
+#define HANDY_H
+
 #if !defined(__STDC__)
 #ifdef NULL
 #undef NULL
@@ -1551,6 +1554,8 @@ void Perl_mem_log_del_sv(const SV *sv, const char *filename, const int linenumbe
 #  define deprecate(s) Perl_ck_warner_d(aTHX_ packWARN(WARN_DEPRECATED), "Use of " s " is deprecated")
 #endif
 
+#endif  /* HANDY_H */
+
 /*
  * Local variables:
  * c-indentation-style: bsd