Commit 3c493624 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

port.h: add FORMAT_SIZE_T

parent d4d7d6d6
......@@ -465,4 +465,10 @@ BCTBX_PUBLIC bool_t bctbx_is_multicast_addr(const struct sockaddr *addr);
#endif
#if defined(_WIN32) || defined(__QNX__)
#define FORMAT_SIZE_T "%Iu"
#elif __APPLE__
#define FORMAT_SIZE_T "%u"
#else
#define FORMAT_SIZE_T "%zu"
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment