浏览代码

re-enable ntohl and friends

Eric Andersen 24 年之前
父节点
当前提交
6ef2a08dbf
共有 1 个文件被更改,包括 1 次插入0 次删除
  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