« Return to Thread: Building rrdtool v1.3.8 on win32

Re: Building rrdtool v1.3.8 on win32

by Barrie0482 :: Rate this Message:

Reply to Author | View in Thread

Hi Tobi,

Thanks. I have added the following to the top of rrd_restore.c. Looks
like it worked OK. It compiled with no errors. Lots of warnings though.
I'll do some testing and let you know how I go.

#ifdef WIN32
/* Gross Hack Alert */
#if _MSC_VER < 1300
#define strtoll(p, e, b) ((*(e) = (char*)(p) + (((b) == 10) ?
strspn((p), "0123456789") : 0)), _atoi64(p))
#else
#define strtoll(p, e, b) _strtoi64(p, e, b)
#endif
#endif

Cheers, Barrie

Tobias Oetiker wrote:
> Today Barrie0482 wrote:
>
> I found this
>  

_______________________________________________
rrd-developers mailing list
rrd-developers@...
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-developers

 « Return to Thread: Building rrdtool v1.3.8 on win32