From: Tsuda Kageyu Date: Tue, 23 Apr 2013 01:42:45 +0000 (+0900) Subject: Fix mistaken preprocessor conditionals X-Git-Tag: v1.9~50^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2c85b4d178d98a2dd3e4c44d4ea95c1234619f50;p=taglib Fix mistaken preprocessor conditionals --- diff --git a/taglib/toolkit/taglib.h b/taglib/toolkit/taglib.h index 81d23f04..833f624b 100755 --- a/taglib/toolkit/taglib.h +++ b/taglib/toolkit/taglib.h @@ -117,7 +117,7 @@ # include #endif -#if defined(HAVE_GCC_BYTESWAP16) +#if defined(HAVE_GCC_BYTESWAP_16) # define TAGLIB_BYTESWAP_16(x) __builtin_bswap16(x) #elif defined(HAVE_MSC_BYTESWAP) # define TAGLIB_BYTESWAP_16(x) _byteswap_ushort(x) @@ -129,7 +129,7 @@ # define TAGLIB_BYTESWAP_16(x) swap16(x) #endif -#if defined(HAVE_GCC_BYTESWAP32) +#if defined(HAVE_GCC_BYTESWAP_32) # define TAGLIB_BYTESWAP_32(x) __builtin_bswap32(x) #elif defined(HAVE_MSC_BYTESWAP) # define TAGLIB_BYTESWAP_32(x) _byteswap_ulong(x) @@ -141,7 +141,7 @@ # define TAGLIB_BYTESWAP_32(x) swap32(x) #endif -#if defined(HAVE_GCC_BYTESWAP64) +#if defined(HAVE_GCC_BYTESWAP_64) # define TAGLIB_BYTESWAP_64(x) __builtin_bswap64(x) #elif defined(HAVE_MSC_BYTESWAP) # define TAGLIB_BYTESWAP_64(x) _byteswap_uint64(x)