[rrd-developers] Building rrdtool v1.3.8 on win32

Barrie barrie0482 at gmail.com
Sun Jul 5 11:32:08 CEST 2009


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
>   



More information about the rrd-developers mailing list