dummy_fpu_control.h
Go to the documentation of this file.
1 //====================================================================
2 // Macs don't have fpu_control.h. Bugger. We're using this
3 // empty replacement if it can't found... Suggestion comes from
4 //
5 // http://stackoverflow.com/questions/4766801/compiling-c-floating-point-arithmetic-on-osx-for-shewchuks-triangle-program
6 //
7 //====================================================================
8 #ifndef _FPU_CONTROL_H
9 #define _FPU_CONTROL_H 1
10 
11 #warning("Using dummy fpu_control.h header. Triangle may struggle...")
12 
13 #define _FPU_SETCW(cw) // nothing
14 #define _FPU_GETCW(cw) // nothing
15 
16 
17 #endif
18