Mercurial > sdl-ios-xcode
diff src/video/x11/SDL_x11image.c @ 605:6399f4e90211
IRIX patches from Andrea Suatoni
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 06 Mar 2003 06:12:41 +0000 |
parents | b0c5a13a4243 |
children | b8d311d90021 |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11image.c Thu Mar 06 06:02:16 2003 +0000 +++ b/src/video/x11/SDL_x11image.c Thu Mar 06 06:12:41 2003 +0000 @@ -168,6 +168,8 @@ } fclose(pstat); } +#elif defined(__sgi) + num_cpus = sysconf(_SC_NPROC_ONLN); #elif defined(_SC_NPROCESSORS_ONLN) /* number of processors online (SVR4.0MP compliant machines) */ num_cpus = sysconf(_SC_NPROCESSORS_ONLN);