#196 Fix Linux build.

This commit is contained in:
XMRig 2017-11-17 12:59:46 +03:00
parent d403dcf95c
commit 4b00eb4a9f
5 changed files with 10 additions and 6 deletions

View file

@ -21,7 +21,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <cmath>
#include <math.h>
#include <string.h>
#include <uv.h>
@ -53,7 +53,7 @@ extern "C"
static inline double normalize(double d)
{
if (!std::isnormal(d)) {
if (!isnormal(d)) {
return 0.0;
}

View file

@ -23,6 +23,7 @@
#include <algorithm>
#include <stdio.h>
#include <string.h>
#include <uv.h>