diff --git a/src/object.c b/src/object.c index 46f1f3f8b..501dcc32f 100644 --- a/src/object.c +++ b/src/object.c @@ -32,6 +32,10 @@ #include #include +#ifdef __CYGWIN__ +#define strtold(a,b) ((long double)strtod((a),(b))) +#endif + robj *createObject(int type, void *ptr) { robj *o = zmalloc(sizeof(*o)); o->type = type;