Browse Source

re-enable ntohl and friends

Eric Andersen 24 years ago
parent
commit
6ef2a08dbf
1 changed files with 1 additions and 0 deletions
  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.  */
 /* Get machine dependent optimized versions of byte swapping functions.  */
 #include <bits/byteswap.h>
 #include <bits/byteswap.h>
 
 
+#define __OPTIMIZE__
 #ifdef __OPTIMIZE__
 #ifdef __OPTIMIZE__
 /* We can optimize calls to the conversion functions.  Either nothing has
 /* We can optimize calls to the conversion functions.  Either nothing has
    to be done or we are using directly the byte-swapping functions which
    to be done or we are using directly the byte-swapping functions which