Show More
@@ -156,7 +156,7 b' static inline uint32_t getbe32(const cha' | |||
|
156 | 156 | { |
|
157 | 157 | return _byteswap_ulong(*(uint32_t *)c); |
|
158 | 158 | } |
|
159 | #elif GCC_VERSION >= 403 | |
|
159 | #elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) | |
|
160 | 160 | static inline uint32_t getbe32(const char *c) |
|
161 | 161 | { |
|
162 | 162 | return __builtin_bswap32(*(uint32_t *)c); |
@@ -179,7 +179,7 b' static inline void putbe32(uint32_t x, c' | |||
|
179 | 179 | x = _byteswap_ulong(x); |
|
180 | 180 | *(uint32_t *)c = x; |
|
181 | 181 | } |
|
182 | #elif GCC_VERSION >= 403 | |
|
182 | #elif __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3) | |
|
183 | 183 | static inline void putbe32(uint32_t x, char *c) |
|
184 | 184 | { |
|
185 | 185 | x = __builtin_bswap32(x); |
General Comments 0
You need to be logged in to leave comments.
Login now