[svn:parrot] r36812 - trunk/tools/build

Infinoid at svn.parrot.org Infinoid at svn.parrot.org
Tue Feb 17 14:40:33 UTC 2009


Author: Infinoid
Date: Tue Feb 17 14:40:32 2009
New Revision: 36812
URL: https://trac.parrot.org/parrot/changeset/36812

Log:
[cage] Add header guards to generated pbcversion.h to pass c_header_guards.t.

Modified:
   trunk/tools/build/pbcversion_h.pl

Modified: trunk/tools/build/pbcversion_h.pl
==============================================================================
--- trunk/tools/build/pbcversion_h.pl	Tue Feb 17 09:56:48 2009	(r36811)
+++ trunk/tools/build/pbcversion_h.pl	Tue Feb 17 14:40:32 2009	(r36812)
@@ -49,9 +49,14 @@
  *
  */
 
+#ifndef PARROT_PBCVERSION_H_GUARD
+#define PARROT_PBCVERSION_H_GUARD
+
 #define PARROT_PBC_MAJOR $major
 #define PARROT_PBC_MINOR $minor
 
+#endif /* PARROT_PBCVERSION_H_GUARD */
+
 /*
  * Local variables:
  *   c-file-style: "parrot"


More information about the parrot-commits mailing list