Skip to content

Commit 20a2a69

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! squash! fixup! Fix CI regressions
1 parent ae8d810 commit 20a2a69

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build_sdl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ def get_output(self) -> str:
207207

208208
def on_include_not_found(self, is_malformed: bool, is_system_include: bool, curdir: str, includepath: str) -> None: # noqa: ARG002, FBT001
209209
"""Remove bad includes such as stddef.h and stdarg.h."""
210-
assert "SDL_" not in includepath, includepath
210+
assert "SDL3/SDL" not in includepath, includepath
211211
raise pcpp.OutputDirective(pcpp.Action.IgnoreAndRemove)
212212

213213
def _should_track_define(self, tokens: list[Any]) -> bool:
@@ -270,7 +270,7 @@ def on_directive_handle(
270270
for match in matches:
271271
if Path(match, "SDL3/SDL_stdinc.h").is_file():
272272
SDL_INCLUDE = match
273-
assert SDL_INCLUDE
273+
assert SDL_INCLUDE, matches
274274

275275

276276
EXTRA_CDEF = """

0 commit comments

Comments
 (0)