Skip to content

Commit 655c816

Browse files
stahta01slouken
authored andcommitted
Use SDL_PROCESS_WINDOWS instead of SDL_PLATFORM_WINDOWS
in SDL_process.c [sdl-ci-filter cygwin] [sdl-ci-filter msys2-*] [sdl-ci-filter msvc-*]
1 parent bb6f24e commit 655c816

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/process/SDL_process.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ SDL_Process *SDL_CreateProcess(const char * const *args, bool pipe_stdio)
4545
SDL_Process *SDL_CreateProcessWithProperties(SDL_PropertiesID props)
4646
{
4747
const char * const *args = SDL_GetPointerProperty(props, SDL_PROP_PROCESS_CREATE_ARGS_POINTER, NULL);
48-
#if defined(SDL_PLATFORM_WINDOWS)
48+
#if defined(SDL_PROCESS_WINDOWS)
4949
const char *cmdline = SDL_GetStringProperty(props, SDL_PROP_PROCESS_CREATE_CMDLINE_STRING, NULL);
5050
CHECK_PARAM((!args || !args[0] || !args[0][0]) && (!cmdline || !cmdline[0])) {
5151
SDL_SetError("Either SDL_PROP_PROCESS_CREATE_ARGS_POINTER or SDL_PROP_PROCESS_CREATE_CMDLINE_STRING must be valid");

0 commit comments

Comments
 (0)