From kde-commits Wed Apr 30 23:27:17 2003 From: =?utf-8?q?Fredrik=20H=C3=B6glund?= Date: Wed, 30 Apr 2003 23:27:17 +0000 To: kde-commits Subject: kdelibs/kdefx X-MARC-Message: https://marc.info/?l=kde-commits&m=105174524432728 CVS commit by fredrik: Compile fix for BSD. M +3 -1 kcpuinfo.cpp 1.3 --- kdelibs/kdefx/kcpuinfo.cpp #1.2:1.3 @@ -44,4 +44,6 @@ #endif +typedef void (*kde_sighandler_t) (int); + static jmp_buf KDE_NO_EXPORT env; @@ -105,5 +107,5 @@ static int KDE_NO_EXPORT getCpuFeatures( // OS support test for SSE. // Install our own sighandler for SIGILL. - __sighandler_t oldhandler = std::signal( SIGILL, sighandler ); + kde_sighandler_t oldhandler = std::signal( SIGILL, sighandler ); // Try executing an SSE insn to see if we get a SIGILL