]> granicus.if.org Git - taglib/commitdiff
Fix mistaken preprocessor conditionals
authorTsuda Kageyu <tsuda.kageyu@gmail.com>
Tue, 23 Apr 2013 01:42:45 +0000 (10:42 +0900)
committerTsuda Kageyu <tsuda.kageyu@gmail.com>
Tue, 23 Apr 2013 01:42:45 +0000 (10:42 +0900)
taglib/toolkit/taglib.h

index 81d23f04b461e8e9b137f6ecbb7724a540ac3e89..833f624b93b0bf9fd2038bf5110d161ee325b014 100755 (executable)
 # include <sys/endian.h>
 #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)
 # 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)
 # 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)