From: Steve Robbins Date: Tue, 3 Sep 2019 03:07:58 +0000 (-0500) Subject: xmpsdk-integer-typedef-x64 Unconditionally use to define known bit-width... X-Git-Tag: archive/raspbian/0.28.5+dfsg-1+rpi1~1^2^2 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b2522fc8690c38e840c871790f3d7de74e402724;p=exiv2.git xmpsdk-integer-typedef-x64 Unconditionally use to define known bit-width types. =================================================================== Gbp-Pq: Name xmpsdk-integer-typedef-x64.patch --- diff --git a/xmpsdk/include/XMP_Const.h b/xmpsdk/include/XMP_Const.h index 0316188..631a253 100644 --- a/xmpsdk/include/XMP_Const.h +++ b/xmpsdk/include/XMP_Const.h @@ -13,9 +13,7 @@ #include -#if XMP_MacBuild // ! No stdint.h on Windows and some UNIXes. #include -#endif #if __cplusplus extern "C" { @@ -34,7 +32,6 @@ extern "C" { // case only the declarations of the XMP_... types needs to change, not all of the uses. These // types are used where fixed sizes are required in order to have a known ABI for a DLL build. -#if XMP_MacBuild typedef int8_t XMP_Int8; typedef int16_t XMP_Int16; @@ -46,19 +43,6 @@ extern "C" { typedef uint32_t XMP_Uns32; typedef uint64_t XMP_Uns64; -#else - - typedef signed char XMP_Int8; - typedef signed short XMP_Int16; - typedef signed long XMP_Int32; - typedef signed long long XMP_Int64; - - typedef unsigned char XMP_Uns8; - typedef unsigned short XMP_Uns16; - typedef unsigned long XMP_Uns32; - typedef unsigned long long XMP_Uns64; - -#endif typedef XMP_Uns8 XMP_Bool;