Sfoglia il codice sorgente

re-enable ntohl and friends

Eric Andersen 24 anni fa
parent
commit
6ef2a08dbf
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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