Skip to content

Commit

Permalink
Try fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Oct 20, 2024
1 parent e0d4d35 commit a9c4871
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions godot-cpp/binding_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -1588,9 +1588,10 @@ def generate_compat_includes(godot_repo: Path, output_dir: Path):
result.append("")
result.append(f"#ifdef GODOT_MODULE_COMPAT")
for file_godot_name in file_godot_names:
result.append(f"#include <{file_godot_name}>")
result.append(f"#include <{Path(file_godot_name).as_posix()}>")

result.append(f"#else")
result.append(f"#include <{file_godot_cpp_name}>")
result.append(f"#include <{Path(file_godot_cpp_name).as_posix()}>")
result.append(f"#endif")
result.append("")
result.append(f"#endif // ! {header_guard}")
Expand Down

0 comments on commit a9c4871

Please sign in to comment.