diff options
| author | Oz Linden <oz@lindenlab.com> | 2011-09-12 07:21:22 -0400 |
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2011-09-12 07:21:22 -0400 |
| commit | 9df77524fce4dd0df7f63e2909e0b5f6170d24db (patch) | |
| tree | abd5ed14a416b4403b28932ec42e3b2e1adbbe0a /scripts/templates/template-cpp.cpp | |
| parent | 49d0e291d83f66d7e1ed393e03eb1b50a2abc560 (diff) | |
only include the h file when it is being created, and make the #endif in the h file safer for picky compilers
Diffstat (limited to 'scripts/templates/template-cpp.cpp')
| -rw-r--r-- | scripts/templates/template-cpp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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)# + |
