X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Frrd.h;h=dc996695678714e29835102288012936e9fec4e5;hb=2f811c28462aa8079c8a0ed4f9962265f217b113;hp=7e63110e9222bd7d7b1c47e79507f534e0829b53;hpb=bb124879717bdb65640cd50ce99e3569cb0a9a3f;p=rrdtool.git diff --git a/src/rrd.h b/src/rrd.h index 7e63110..dc99669 100644 --- a/src/rrd.h +++ b/src/rrd.h @@ -58,7 +58,9 @@ extern "C" { #include /* for off_t */ #else #ifdef _MSC_VER +#ifndef PERLPATCHLEVEL typedef int mode_t; +#endif #define strtoll _strtoi64 #endif typedef size_t ssize_t; @@ -284,7 +286,8 @@ extern "C" { typedef enum { ABSOLUTE_TIME, RELATIVE_TO_START_TIME, - RELATIVE_TO_END_TIME + RELATIVE_TO_END_TIME, + RELATIVE_TO_EPOCH } rrd_timetype_t; #define TIME_OK NULL