Skip to content

Commit 34ae5da

Browse files
committed
wii/cube are big endian
1 parent c167dee commit 34ae5da

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • external/bsd/include/arpa

external/bsd/include/arpa/inet.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@
77

88
static inline uint32_t htonl(uint32_t hostlong)
99
{
10-
return __builtin_bswap32(hostlong);
10+
return hostlong;
1111
}
1212

1313
static inline uint16_t htons(uint16_t hostshort)
1414
{
15-
return __builtin_bswap16(hostshort);
15+
return hostshort;
1616
}
1717

1818
static inline uint32_t ntohl(uint32_t netlong)
1919
{
20-
return __builtin_bswap32(netlong);
20+
return netlong;
2121
}
2222

2323
static inline uint16_t ntohs(uint16_t netshort)
2424
{
25-
return __builtin_bswap16(netshort);
25+
return netshort;
2626
}
2727

2828
#ifdef __cplusplus

0 commit comments

Comments
 (0)