]> Creatis software - clitk.git/commitdiff
Fixed endianness portability issue on Ben's apple
authorBenoît Presles <Ben@BenMacBook.local>
Tue, 3 Jul 2012 16:08:51 +0000 (18:08 +0200)
committerBenoît Presles <Ben@BenMacBook.local>
Tue, 3 Jul 2012 16:08:51 +0000 (18:08 +0200)
utilities/CxImage/ximacfg.h

index e745e91db273bd7436e08acb75d8878f388724c4..ef89b227098bbc846a0ec98cf7d57e7390780987 100644 (file)
@@ -3,6 +3,12 @@
 \r
 /////////////////////////////////////////////////////////////////////////////\r
 // Protability issues\r
+#ifdef ntohs\r
+#  undef ntohs\r
+#endif\r
+#ifdef ntohl\r
+#  undef ntohl\r
+#endif\r
 #ifndef _tfopen\r
 #  define _tfopen fopen\r
 #endif\r