From ca308c7013f6b11c0f63293f02c90941810b8f77 Mon Sep 17 00:00:00 2001 From: felfoldy <48220985+felfoldy@users.noreply.github.com> Date: Fri, 31 Oct 2025 19:47:44 +0100 Subject: [PATCH] Add iOS support for working directory operations --- src/modules/os.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/os.c b/src/modules/os.c index cceb1718..57ce78db 100644 --- a/src/modules/os.c +++ b/src/modules/os.c @@ -16,7 +16,7 @@ bool platform_getcwd(char* buf, size_t size) { return _getcwd(buf, size) != NULL bool platform_path_exists(const char* path) { return _access(path, 0) == 0; } -#elif PY_SYS_PLATFORM == 3 || PY_SYS_PLATFORM == 5 +#elif PY_SYS_PLATFORM == 2 || PY_SYS_PLATFORM == 3 || PY_SYS_PLATFORM == 5 #include int platform_chdir(const char* path) { return chdir(path); }