git://git.uio.no
/
u
/
mrichter
/
AliRoot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated VZERO source
[u/mrichter/AliRoot.git]
/
ALIROOT
/
dummies.c
diff --git
a/ALIROOT/dummies.c
b/ALIROOT/dummies.c
index 5dcbee76b65a3a254a8af4e4122824a97710db6b..8f7f5418bd00e4bee05b87184eed7655afd37e52 100644
(file)
--- a/
ALIROOT/dummies.c
+++ b/
ALIROOT/dummies.c
@@
-1,9
+1,10
@@
#ifdef __linux
#include <fpu_control.h>
void __attribute__ ((constructor))
#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
}
void MAIN__() {}
#endif