We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 765a184 commit 1ca075fCopy full SHA for 1ca075f
build_libtcod.py
@@ -27,8 +27,6 @@
27
28
import build_sdl
29
30
-Py_LIMITED_API = 0x03100000
31
-
32
HEADER_PARSE_PATHS = ("tcod/", "libtcod/src/libtcod/")
33
HEADER_PARSE_EXCLUDES = ("gl2_ext_.h", "renderer_gl_internal.h", "event.h")
34
@@ -164,9 +162,6 @@ def walk_sources(directory: str) -> Iterator[str]:
164
162
library_dirs: list[str] = [*build_sdl.library_dirs]
165
163
define_macros: list[tuple[str, Any]] = []
166
167
-if "PYODIDE" not in os.environ:
168
- define_macros.append(("Py_LIMITED_API", Py_LIMITED_API))
169
170
sources += walk_sources("tcod/")
171
sources += walk_sources("libtcod/src/libtcod/")
172
sources += ["libtcod/src/vendor/stb.c"]
0 commit comments