comparison 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
comparison
equal deleted inserted replaced
604:31d3af76488b 605:6399f4e90211
166 ++num_cpus; 166 ++num_cpus;
167 } 167 }
168 } 168 }
169 fclose(pstat); 169 fclose(pstat);
170 } 170 }
171 #elif defined(__sgi)
172 num_cpus = sysconf(_SC_NPROC_ONLN);
171 #elif defined(_SC_NPROCESSORS_ONLN) 173 #elif defined(_SC_NPROCESSORS_ONLN)
172 /* number of processors online (SVR4.0MP compliant machines) */ 174 /* number of processors online (SVR4.0MP compliant machines) */
173 num_cpus = sysconf(_SC_NPROCESSORS_ONLN); 175 num_cpus = sysconf(_SC_NPROCESSORS_ONLN);
174 #elif defined(_SC_NPROCESSORS_CONF) 176 #elif defined(_SC_NPROCESSORS_CONF)
175 /* number of processors configured (SVR4.0MP compliant machines) */ 177 /* number of processors configured (SVR4.0MP compliant machines) */