Skip to content

Commit 635d1d7

Browse files
committed
Add file suffix; use quote includes for consistency
1 parent cea8a11 commit 635d1d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mypyc/codegen/emitmodule.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -588,7 +588,7 @@ def generate_c_for_modules(self) -> list[tuple[str, str]]:
588588
for source_dep in sorted(source_deps, key=lambda d: d.path):
589589
base_emitter.emit_line(f'#include "{source_dep.path}"')
590590
if self.compiler_options.depends_on_librt_internal:
591-
base_emitter.emit_line("#include <internal/librt_internal_api.c>")
591+
base_emitter.emit_line('#include "internal/librt_internal_api.c"')
592592
base_emitter.emit_line(f'#include "__native{self.short_group_suffix}.h"')
593593
base_emitter.emit_line(f'#include "__native_internal{self.short_group_suffix}.h"')
594594
emitter = base_emitter
@@ -646,7 +646,7 @@ def generate_c_for_modules(self) -> list[tuple[str, str]]:
646646
declarations.emit_line("#include <CPy.h>")
647647

648648
if self.compiler_options.depends_on_librt_internal:
649-
declarations.emit_line("#include <internal/librt_internal.h>")
649+
declarations.emit_line('#include "internal/librt_internal_api.h"')
650650
# Include headers for conditional source files
651651
source_deps = collect_source_dependencies(self.modules)
652652
for source_dep in sorted(source_deps, key=lambda d: d.path):

0 commit comments

Comments
 (0)