Date: Monday, January 15, 2007 @ 17:50:17
  Author: marc
    Path: /cvsroot/carob/carob/include

Modified: SystemDependantDefs.hpp (1.10 -> 1.11)

Quick fix for _BYTE_ORDER vs __BYTE_ORDER mess. Needed for CAROB-117 FreeBSD 
port


-------------------------+
 SystemDependantDefs.hpp |    5 +++++
 1 files changed, 5 insertions(+)


Index: carob/include/SystemDependantDefs.hpp
diff -u carob/include/SystemDependantDefs.hpp:1.10 
carob/include/SystemDependantDefs.hpp:1.11
--- carob/include/SystemDependantDefs.hpp:1.10  Tue Dec 19 12:14:15 2006
+++ carob/include/SystemDependantDefs.hpp       Mon Jan 15 17:50:17 2007
@@ -31,6 +31,11 @@
 
 #ifdef __FreeBSD__ // should probably add many more here
 #include <sys/param.h>
+# if defined(_BYTE_ORDER) && !defined(__BYTE_ORDER)
+# define __BYTE_ORDER _BYTE_ORDER
+# define __BIG_ENDIAN _BIG_ENDIAN
+# define __LITTLE_ENDIAN _LITTLE_ENDIAN
+# endif
 #endif
 
 
////////////////////////////////////////////////////////////////////////////////

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to