[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kdefx
From:       Fredrik Höglund <fredrik () kde ! org>
Date:       2003-04-30 23:27:17
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic