Files
pkgsrc-ng/audio/musicpd/patches/patch-src_system_ByteOrder.hxx
2016-01-21 23:41:46 +01:00

14 lines
500 B
C++

$NetBSD: patch-src_system_ByteOrder.hxx,v 1.4 2015/04/06 00:08:34 mrg Exp $
--- src/system/ByteOrder.hxx.orig 2014-08-23 05:29:55.000000000 -0700
+++ src/system/ByteOrder.hxx 2015-04-05 16:29:48.000000000 -0700
@@ -40,7 +40,7 @@
/* well-known big-endian */
# define IS_LITTLE_ENDIAN false
# define IS_BIG_ENDIAN true
-#elif defined(__APPLE__)
+#elif defined(__APPLE__) || defined(__NetBSD__)
/* compile-time check for MacOS */
# include <machine/endian.h>
# if BYTE_ORDER == LITTLE_ENDIAN