Skip to content

Commit

Permalink
Not all Linux have fpu_control.h (that's a glibc specific header)
Browse files Browse the repository at this point in the history
A portable alternative could be fenv.h? I'm not sure if it's enough.
  • Loading branch information
oswaldo4 authored Jul 13, 2016
1 parent 8bc5eed commit 50ed47b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asl/solvers/fpinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ fpinit_ASL(Void)
#endif /*APPLE*/

#ifndef ASL_NO_FP_INIT
#ifdef __linux__ /*{*/
#ifdef __GLIBC__ /*{*/
#ifndef NO_fpu_control /*{*/
#define FP_INIT_DONE
#include "fpu_control.h"
Expand Down

0 comments on commit 50ed47b

Please sign in to comment.