Skip to content

Commit

Permalink
Directly include cfloat and cmath
Browse files Browse the repository at this point in the history
Other source files already assume that cfloat and cmath are available.
So the same can be done here, too.
  • Loading branch information
a-andre authored and svigerske committed Jul 19, 2024
1 parent 014be1f commit 73781a7
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/CoinFinite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,8 @@
#include "CoinFinite.hpp"
#include "CoinUtilsConfig.h"

#ifdef HAVE_CFLOAT
#include <cfloat>
#else
#ifdef HAVE_FLOAT_H
#include <float.h>
#endif
#endif

#ifdef HAVE_CMATH
#include <cmath>
#else
#ifdef HAVE_MATH_H
#include <math.h>
#endif
#endif

#ifdef HAVE_CIEEEFP
#include <cieeefp>
Expand Down

0 comments on commit 73781a7

Please sign in to comment.