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

This commit is contained in:
Anonymous Maarten 2023-03-30 20:26:31 +02:00 committed by Anonymous Maarten
parent 308bcbbe76
commit b6ae281e97
129 changed files with 450 additions and 450 deletions

View file

@ -61,7 +61,7 @@ static char *GetAppName(void)
char linkfile[1024];
int linksize;
#if defined(__LINUX__)
#ifdef __LINUX__
(void)SDL_snprintf(procfile, sizeof(procfile), "/proc/%d/exe", getpid());
#elif defined(__FREEBSD__)
(void)SDL_snprintf(procfile, sizeof(procfile), "/proc/%d/file", getpid());