]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ALIROOT/dummies.c
#include <AliConfig.h> removed
[u/mrichter/AliRoot.git] / ALIROOT / dummies.c
index 5dcbee76b65a3a254a8af4e4122824a97710db6b..8f7f5418bd00e4bee05b87184eed7655afd37e52 100644 (file)
@@ -1,9 +1,10 @@
 #ifdef __linux
 #include <fpu_control.h>
 void __attribute__ ((constructor))
-trapfpe () {
-  (void) __setfpucw (_FPU_DEFAULT &
-                     ~(_FPU_MASK_IM | _FPU_MASK_ZM | _FPU_MASK_OM));
+     trapfpe () {
+  fpu_control_t cw = _FPU_DEFAULT & ~(_FPU_MASK_IM | _FPU_MASK_ZM |
+                                     _FPU_MASK_OM);
+  _FPU_SETCW(cw);
 }
 void MAIN__()  {}
 #endif