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 0d59697 commit 8253dabCopy full SHA for 8253dab
build_libtcod.py
@@ -180,8 +180,8 @@ def walk_sources(directory: str) -> Iterator[str]:
180
include_dirs.append("libtcod/src/zlib/")
181
182
183
-if sys.platform == "darwin":
184
- # Fix "implicit declaration of function 'close'" in zlib.
+if sys.platform != "win32":
+ # Fix implicit declaration of multiple functions in zlib.
185
define_macros.append(("HAVE_UNISTD_H", 1))
186
187
0 commit comments