# HG changeset patch # User reimar # Date 1370377892 0 # Node ID 553275f5565f74ed0ba55bac68fa2d04c80850d6 # Parent 53cb51bbc317233a1e07507f043b6b287456e5e3 Remove unnecessary condition. We already assume that we have sigaction available on Linux, e.g. in the cache code. Might fix Bugzilla bug #2141. diff -r 53cb51bbc317 -r 553275f5565f cpudetect.c --- a/cpudetect.c Mon Jun 03 17:38:06 2013 +0000 +++ b/cpudetect.c Tue Jun 04 20:31:32 2013 +0000 @@ -177,7 +177,6 @@ mp_msg(MSGT_CPUDETECT,MSGL_V, gCpuCaps.hasSSE ? "yes.\n" : "no!\n" ); } #elif defined(__linux__) -#if defined(_POSIX_SOURCE) struct sigaction saved_sigill; /* Save the original signal handlers. @@ -210,13 +209,6 @@ */ mp_msg(MSGT_CPUDETECT,MSGL_V, "Tests of OS support for SSE %s\n", gCpuCaps.hasSSE ? "passed." : "failed!" ); #else - /* We can't use POSIX signal handling to test the availability of - * SSE, so we disable it by default. - */ - mp_msg(MSGT_CPUDETECT,MSGL_WARN, "Cannot test OS support for SSE, disabling to be safe.\n" ); - gCpuCaps.hasSSE=0; -#endif /* _POSIX_SOURCE */ -#else /* Do nothing on other platforms for now. */ mp_msg(MSGT_CPUDETECT,MSGL_WARN, "Cannot test OS support for SSE, leaving disabled.\n" );