Commit 7e67b8ef authored by Andy Cedilnik's avatar Andy Cedilnik
Browse files

Attempt to fix FIXNUM

parent 52141fb6
......@@ -27,8 +27,13 @@
#include <stdio.h>
#include <time.h>
#include <math.h>
#include <float.h>
#define FIXNUM(x) ((isnan(x))?((0)):((isinf(x))?(0):(x)))
#ifdef _WIN32
# define FIXNUM(x) (_finite(x)?(x):(0))
#else
# define FIXNUM(x) (finite(x)?(x):(0))
#endif
#ifdef HAVE_CURL
static struct tm* GetNightlyTime(std::string str)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment