mirror of
https://github.com/yawut/SDL.git
synced 2026-08-25 02:05:07 -05:00
Added support for querying the number of CPUs available on Linux. This also happens to work on Mac OS X.
This commit is contained in:
@@ -151,6 +151,7 @@
|
||||
#undef HAVE_SIGACTION
|
||||
#undef HAVE_SETJMP
|
||||
#undef HAVE_NANOSLEEP
|
||||
#undef HAVE_SYSCONF
|
||||
#undef HAVE_SYSCTLBYNAME
|
||||
#undef HAVE_CLOCK_GETTIME
|
||||
#undef HAVE_GETPAGESIZE
|
||||
|
||||
@@ -108,6 +108,7 @@ typedef unsigned long uintptr_t;
|
||||
#define HAVE_SIGACTION 1
|
||||
#define HAVE_SETJMP 1
|
||||
#define HAVE_NANOSLEEP 1
|
||||
#define HAVE_SYSCONF 1
|
||||
#define HAVE_SYSCTLBYNAME 1
|
||||
|
||||
/* enable iPhone version of Core Audio driver */
|
||||
|
||||
@@ -106,6 +106,7 @@
|
||||
#define HAVE_SIGACTION 1
|
||||
#define HAVE_SETJMP 1
|
||||
#define HAVE_NANOSLEEP 1
|
||||
#define HAVE_SYSCONF 1
|
||||
#define HAVE_SYSCTLBYNAME 1
|
||||
|
||||
/* Enable various audio drivers */
|
||||
|
||||
Reference in New Issue
Block a user