浏览代码

Be more careful about not redefining stuf

Eric Andersen 23 年之前
父节点
当前提交
5866ba50f1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      include/netinet/in.h

+ 2 - 0
include/netinet/in.h

@@ -269,7 +269,9 @@ extern uint16_t htons (uint16_t __hostshort)
 /* Get machine dependent optimized versions of byte swapping functions.  */
 #include <bits/byteswap.h>
 
+#ifndef __OPTIMIZE__
 #define __OPTIMIZE__
+#endif
 #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