From 372c1e7f8ac8727b2c13db96f0701dc3e3376454 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Beno=C3=AEt=20Presles?= Date: Tue, 3 Jul 2012 18:08:51 +0200 Subject: [PATCH] Fixed endianness portability issue on Ben's apple --- utilities/CxImage/ximacfg.h | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.47.1