X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Fglobals.h;h=9ec72f0de1a770155682167e790926bd5fb39f6e;hb=24b87484c7fd2e0998682db6f77e54d8cdc459d4;hp=5a277c007c599e04b6c05d79a113fca18bdcf122;hpb=a9191cc20f0a5af022ae1d9482af2eaf0098a46a;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;