Преглед на файлове

Be more careful about not redefining stuf

Eric Andersen преди 22 години
родител
ревизия
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