]> Creatis software - clitk.git/blobdiff - utilities/CxImage/ximacfg.h
Fixed endianness portability issue on Ben's apple
[clitk.git] / 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