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 113113#define __ENDIAN_DEFINED 1
114114#endif /* sun */
115115
116- /* Windows (also Emscripten) */
117- #if defined(_WIN32) || defined(_MSC_VER) || defined(__EMSCRIPTEN__)
116+ /* Windows */
118117/* assumes all Microsoft targets are little endian. */
119118/* Emscripten (emcc) also currently assumes little endian. */
119+ #if defined(_WIN32) || defined(_MSC_VER) || defined(__EMSCRIPTEN__)
120120#define _LITTLE_ENDIAN 1234
121121#define _BIG_ENDIAN 4321
122122#define _BYTE_ORDER _LITTLE_ENDIAN
@@ -227,7 +227,7 @@ inline uint64_t bswap64(uint64_t x) {
227227#define le16toh (x ) ((uint16_t )(x))
228228
229229#define htobe32 (x ) bswap32((x))
230- #define htole32 (x ) ((uint32_t ( (x))
230+ #define htole32 (x ) ((uint32_t ) (x))
231231#define be32toh (x ) bswap32((x))
232232#define le32toh (x ) ((uint32_t )(x))
233233
You can’t perform that action at this time.
0 commit comments