X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fglobals.h;h=9ec72f0de1a770155682167e790926bd5fb39f6e;hb=711f5b6c86f51061c21bedcaa46214a01de0125c;hp=5a277c007c599e04b6c05d79a113fca18bdcf122;hpb=a9e50e9e30ecde17e167e271060c8183bfcbf407;p=collectd.git diff --git a/src/daemon/globals.h b/src/daemon/globals.h index 5a277c00..9ec72f0d 100644 --- a/src/daemon/globals.h +++ b/src/daemon/globals.h @@ -31,8 +31,12 @@ #endif #ifndef PRIsz +#ifdef WIN32 +#define PRIsz "Iu" +#else #define PRIsz "zu" -#endif /* PRIsz */ +#endif /* WIN32 */ +#endif /* !PRIsz */ /* Type for time as used by "utils_time.h" */ typedef uint64_t cdtime_t;