File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ double Minisat::memUsedPeak(bool /*strictlyPeak*/) { return 0; }
97
97
98
98
void Minisat::setX86FPUPrecision ()
99
99
{
100
- #if defined(__linux__ ) && defined(_FPU_EXTENDED) && defined(_FPU_DOUBLE) && defined(_FPU_GETCW)
100
+ #if defined(__GLIBC__ ) && defined(_FPU_EXTENDED) && defined(_FPU_DOUBLE) && defined(_FPU_GETCW)
101
101
// Only correct FPU precision on Linux architectures that needs and supports it:
102
102
fpu_control_t oldcw, newcw;
103
103
_FPU_GETCW (oldcw); newcw = (oldcw & ~_FPU_EXTENDED) | _FPU_DOUBLE; _FPU_SETCW (newcw);
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA
21
21
#ifndef Minisat_System_h
22
22
#define Minisat_System_h
23
23
24
- #if defined(__linux__ )
24
+ #if defined(__GLIBC__ )
25
25
#include < fpu_control.h>
26
26
#endif
27
27
You can’t perform that action at this time.
0 commit comments