# HG changeset patch # User reimar # Date 1370398386 0 # Node ID 88c5a06d1db9a7cb3c5f0f213f11910d35779f68 # Parent 553275f5565f74ed0ba55bac68fa2d04c80850d6 Update #if for previous commit, fixes compilation for cases that previously would have broken SSE detection. diff -r 553275f5565f -r 88c5a06d1db9 cpudetect.c --- a/cpudetect.c Tue Jun 04 20:31:32 2013 +0000 +++ b/cpudetect.c Wed Jun 05 02:13:06 2013 +0000 @@ -56,7 +56,7 @@ #if CONFIG_RUNTIME_CPUDETECT /* I believe this code works. However, it has only been used on a PII and PIII */ -#if defined(__linux__) && defined(_POSIX_SOURCE) && !ARCH_X86_64 +#if defined(__linux__) && !ARCH_X86_64 static void sigill_handler_sse( int signal, struct sigcontext sc ) { mp_msg(MSGT_CPUDETECT,MSGL_V, "SIGILL, " ); @@ -75,7 +75,7 @@ gCpuCaps.hasSSE=0; } -#endif /* __linux__ && _POSIX_SOURCE */ +#endif /* __linux__ */ #if (defined(__MINGW32__) || defined(__CYGWIN__)) && !ARCH_X86_64 LONG CALLBACK win32_sig_handler_sse(EXCEPTION_POINTERS* ep)