• Sam Lantinga's avatar
    Fixed bug #924 · f643e8c7
    Sam Lantinga authored
    Only use sysconf if _SC_NPROCESSORS_ONLN is available.  Fortunately the case for this was Mac OS X 10.4, which has sysctlbyname()
    
    --HG--
    extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404356
    f643e8c7
SDL_cpuinfo.c 15.6 KB