Parcourir la source

Be more careful about not redefining stuf

Eric Andersen il y a 22 ans
Parent
commit
5866ba50f1
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  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