Explorar o código

re-enable ntohl and friends

Eric Andersen %!s(int64=25) %!d(string=hai) anos
pai
achega
6ef2a08dbf
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      include/netinet/in.h

+ 1 - 0
include/netinet/in.h

@@ -269,6 +269,7 @@ extern uint16_t htons (uint16_t __hostshort)
 /* Get machine dependent optimized versions of byte swapping functions.  */
 #include <bits/byteswap.h>
 
+#define __OPTIMIZE__
 #ifdef __OPTIMIZE__
 /* We can optimize calls to the conversion functions.  Either nothing has
    to be done or we are using directly the byte-swapping functions which