]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ALIROOT/dummies.c
EG library is now only in ROOTLIBS
[u/mrichter/AliRoot.git] / ALIROOT / dummies.c
index 926bff924c43cbd0c11da1da90ddbf1771d1302f..8f7f5418bd00e4bee05b87184eed7655afd37e52 100644 (file)
@@ -1,8 +1,15 @@
+#ifdef __linux
+#include <fpu_control.h>
+void __attribute__ ((constructor))
+     trapfpe () {
+  fpu_control_t cw = _FPU_DEFAULT & ~(_FPU_MASK_IM | _FPU_MASK_ZM |
+                                     _FPU_MASK_OM);
+  _FPU_SETCW(cw);
+}
+void MAIN__()  {}
+#endif
 void izrtoc_() {}
 void igmess_() {}
 void igloc2_() {}
 void igpxmp_() {}
 void izitoc_() {}
-#ifdef __linux
-void MAIN__()  {}
-#endif