2013-09-26 17:14:40 +02:00

19 lines
467 B
Plaintext

$NetBSD: patch-ac,v 1.17 2010/11/26 14:49:50 adam Exp $
--- src/af/util/xp/ut_endian.h.orig 2009-12-13 20:26:17.000000000 +0000
+++ src/af/util/xp/ut_endian.h
@@ -56,6 +56,13 @@
#else
#define UT_BIG_ENDIAN
#endif
+#elif defined(__DragonFly__)
+ #include <sys/endian.h>
+ #if _BYTE_ORDER == _LITTLE_ENDIAN
+ #define UT_LITTLE_ENDIAN
+ #else
+ #define UT_BIG_ENDIAN
+ #endif
#elif defined(__sgi)
#include <sys/endian.h>
#if BYTE_ORDER == LITTLE_ENDIAN