Browse Source

Be more careful about not redefining stuf

Eric Andersen 22 years ago
parent
commit
5866ba50f1
1 changed files with 2 additions and 0 deletions
  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