From: BenoƮt Presles Date: Tue, 3 Jul 2012 16:08:51 +0000 (+0200) Subject: Fixed endianness portability issue on Ben's apple X-Git-Tag: v1.3.0~21 X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=372c1e7f8ac8727b2c13db96f0701dc3e3376454;p=clitk.git Fixed endianness portability issue on Ben's apple --- diff --git a/utilities/CxImage/ximacfg.h b/utilities/CxImage/ximacfg.h index e745e91..ef89b22 100644 --- a/utilities/CxImage/ximacfg.h +++ b/utilities/CxImage/ximacfg.h @@ -3,6 +3,12 @@ ///////////////////////////////////////////////////////////////////////////// // Protability issues +#ifdef ntohs +# undef ntohs +#endif +#ifdef ntohl +# undef ntohl +#endif #ifndef _tfopen # define _tfopen fopen #endif