X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fvendor%2Fmsgpack%2Fsysdep.h;fp=src%2Fvendor%2Fmsgpack%2Fsysdep.h;h=9cbb7a1db4d9e9f11bbbea852adbb122e8037c9f;hp=ad5f615aa7e9e0fce4377c9a11300d07eb6df891;hb=0c07860d8c0160fea35c59fc5d43b948f354359e;hpb=0ae8863018325f0e86112e6a1ce466d5576b5461 diff --git a/src/vendor/msgpack/sysdep.h b/src/vendor/msgpack/sysdep.h index ad5f615aa..9cbb7a1db 100644 --- a/src/vendor/msgpack/sysdep.h +++ b/src/vendor/msgpack/sysdep.h @@ -28,6 +28,13 @@ typedef unsigned __int32 uint32_t; typedef signed __int64 int64_t; typedef unsigned __int64 uint64_t; +# if defined(_WIN64) + typedef signed __int64 intptr_t; + typedef unsigned __int64 uintptr_t; +# else + typedef signed __int32 intptr_t; + typedef unsigned __int32 uintptr_t; +# endif #elif defined(_MSC_VER) // && _MSC_VER >= 1600 # include #else