diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2014-11-12 07:02:35 -0800 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2014-11-12 07:06:20 -0800 |
commit | b7d13c07163df2965987f1607db66616fa518cc3 (patch) | |
tree | 22dd98508c4f36e210c6db076cbff487559839c4 /include | |
parent | 3af2f2b39c3da613400ff23d27c7802d06fe6361 (diff) | |
download | flac-b7d13c07163df2965987f1607db66616fa518cc3.tar.gz |
include/share/endswap.h : Fix usage of HAVE_BSWAP16.
The code was incorrectly using #ifndef on a value that was always defined
to a value of either 0 or 1.
Diffstat (limited to 'include')
-rw-r--r-- | include/share/endswap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/share/endswap.h b/include/share/endswap.h index dece49ca..ab6a776b 100644 --- a/include/share/endswap.h +++ b/include/share/endswap.h @@ -34,7 +34,7 @@ #if HAVE_BSWAP32 /* GCC and Clang */ /* GCC prior to 4.8 didn't provide bswap16 on x86_64 */ -#ifndef HAVE_BSWAP16 +#if ! HAVE_BSWAP16 static inline unsigned short __builtin_bswap16(unsigned short a) { return (a<<8)|(a>>8); |