X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fvendor%2Fmsgpack%2Fsysdep.h;h=9cbb7a1db4d9e9f11bbbea852adbb122e8037c9f;hb=dcd24bbf7dbc74e3584d1d0d52715e749023c452;hp=ad5f615aa7e9e0fce4377c9a11300d07eb6df891;hpb=116a02e33a6aba03128c268c333e1c35584848d2;p=lttng-tools.git 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