Skip to content

Commit

Permalink
Error fixed in definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandommoore committed Oct 19, 2022
1 parent 9f0ddc1 commit 2a0c495
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions basefiles_gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ def makefile_gen(project_name):

def hpp_generator(project_name):
hpp_comps=[]
header_name = project_name.upper() + "_H"
hpp_comps.append(str("#ifndef " + header_name + "\n"))
hpp_comps.append(str("# define " + header_name + "\n"))
header_name = project_name.upper() + "_H__"
hpp_comps.append(str("#ifndef __" + header_name + "\n"))
hpp_comps.append(str("# define __" + header_name + "\n"))
hpp_comps.append("\n")
hpp_comps.append("#include <iostream>\n")
hpp_comps.append("\n#endif\n")
Expand Down

0 comments on commit 2a0c495

Please sign in to comment.