changeset 36204:88c5a06d1db9

Update #if for previous commit, fixes compilation for cases that previously would have broken SSE detection.
author reimar
date Wed, 05 Jun 2013 02:13:06 +0000
parents 553275f5565f
children c922d2550d20
files cpudetect.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)