Use #ifdef/#ifndef instead of #if defined/#if \!defined

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2023-03-30 21:35:01 +00:00
1 parent 308bcbbe76
commit b6ae281e97
129 files changed
+450 -450

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ int SDL_SYS_OpenURL(const char *url)
{
const pid_t pid1 = fork();
if (pid1 == 0) { /* child process */
#if defined(USE_POSIX_SPAWN)
#ifdef USE_POSIX_SPAWN
pid_t pid2;
const char *args[] = { "xdg-open", url, NULL };
/* Clear LD_PRELOAD so Chrome opens correctly when this application is launched by Steam */