Added SDL_PROP_PROCESS_CREATE_WORKING_DIRECTORY_STRING

Fixes https://github.com/libsdl-org/SDL/issues/12654
This commit is contained in:
Sam Lantinga
2025-03-27 08:17:49 -07:00
parent 289f5cfdbb
commit 0f27c3aabd
5 changed files with 48 additions and 1 deletions

View File

@@ -1104,6 +1104,8 @@ if(SDL_LIBC)
check_symbol_exists(poll "poll.h" HAVE_POLL)
check_symbol_exists(memfd_create "sys/mman.h" HAVE_MEMFD_CREATE)
check_symbol_exists(posix_fallocate "fcntl.h" HAVE_POSIX_FALLOCATE)
check_symbol_exists(posix_spawn_file_actions_addchdir "spawn.h" HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR)
check_symbol_exists(posix_spawn_file_actions_addchdir_np "spawn.h" HAVE_POSIX_SPAWN_FILE_ACTIONS_ADDCHDIR_NP)
if(SDL_SYSTEM_ICONV)
check_c_source_compiles("