From 9df77524fce4dd0df7f63e2909e0b5f6170d24db Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Mon, 12 Sep 2011 07:21:22 -0400 Subject: only include the h file when it is being created, and make the #endif in the h file safer for picky compilers --- scripts/templates/template-cpp.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/templates/template-cpp.cpp') diff --git a/scripts/templates/template-cpp.cpp b/scripts/templates/template-cpp.cpp index 7a8797698a..35d8441c87 100644 --- a/scripts/templates/template-cpp.cpp +++ b/scripts/templates/template-cpp.cpp @@ -26,4 +26,5 @@ */ -#'%c'%35#include "#filename#.h" +#'' if ( skip_h ) else '%cinclude "%s.h"' % (35,filename)# + -- cgit v1.2.3