~cypheon/pkgsrc-wip

pkgsrc-wip/dogecoin/patches/patch-src_leveldb_port_port__posix.h -rw-r--r-- 489 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD$

Be nbsd specific.

--- src/leveldb/port/port_posix.h.orig	2015-10-31 14:49:41.000000000 +0000
+++ src/leveldb/port/port_posix.h
@@ -47,7 +47,11 @@
 #include "port/atomic_pointer.h"
 
 #ifndef PLATFORM_IS_LITTLE_ENDIAN
+#if defined(OS_NETBSD)
 #define PLATFORM_IS_LITTLE_ENDIAN (__BYTE_ORDER == __LITTLE_ENDIAN)
+#else
+#define PLATFORM_IS_LITTLE_ENDIAN (__BYTE_ORDER == __LITTLE_ENDIAN)
+#endif
 #endif
 
 #if defined(OS_MACOSX) || defined(OS_SOLARIS) || defined(OS_FREEBSD) ||\