[MPlayer-cvslog] r36300 - trunk/cpudetect.c

reimar subversion at mplayerhq.hu
Wed Jun 5 04:13:06 CEST 2013


Author: reimar
Date: Wed Jun  5 04:13:06 2013
New Revision: 36300

Log:
Update #if for previous commit, fixes compilation for cases
that previously would have broken SSE detection.

Modified:
   trunk/cpudetect.c

Modified: trunk/cpudetect.c
==============================================================================
--- trunk/cpudetect.c	Tue Jun  4 22:31:32 2013	(r36299)
+++ trunk/cpudetect.c	Wed Jun  5 04:13:06 2013	(r36300)
@@ -56,7 +56,7 @@ CpuCaps gCpuCaps;
 #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 @@ static void sigill_handler_sse( int sign
 
    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)


More information about the MPlayer-cvslog mailing list