File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -37,15 +37,15 @@ inline uint16_t bswap_16(uint16_t x)
37
37
{
38
38
return (x >> 8 ) | ((x & 0x00ff ) << 8 );
39
39
}
40
- #endif // HAVE_DECL_BSWAP16
40
+ #endif // HAVE_DECL_BSWAP16 == 0
41
41
42
42
#if HAVE_DECL_BSWAP_32 == 0
43
43
inline uint32_t bswap_32 (uint32_t x )
44
44
{
45
45
return (((x & 0xff000000U ) >> 24 ) | ((x & 0x00ff0000U ) >> 8 ) |
46
46
((x & 0x0000ff00U ) << 8 ) | ((x & 0x000000ffU ) << 24 ));
47
47
}
48
- #endif // HAVE_DECL_BSWAP32
48
+ #endif // HAVE_DECL_BSWAP32 == 0
49
49
50
50
#if HAVE_DECL_BSWAP_64 == 0
51
51
inline uint64_t bswap_64 (uint64_t x )
@@ -59,7 +59,7 @@ inline uint64_t bswap_64(uint64_t x)
59
59
| ((x & 0x000000000000ff00ull ) << 40 )
60
60
| ((x & 0x00000000000000ffull ) << 56 ));
61
61
}
62
- #endif // HAVE_DECL_BSWAP64
62
+ #endif // HAVE_DECL_BSWAP64 == 0
63
63
64
64
#endif // defined(__APPLE__)
65
65
You can’t perform that action at this time.
0 commit comments