summaryrefslogtreecommitdiff
path: root/emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp
blob: 6ec7e348c636ef506db6a140a2fe8caa5e7c1614 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- native/ext/cityhash/city.cpp.orig	2015-02-23 23:22:58 UTC
+++ native/ext/cityhash/city.cpp
@@ -68,7 +68,7 @@ static uint32 UNALIGNED_LOAD32(const cha
 #define bswap_32(x) BSWAP_32(x)
 #define bswap_64(x) BSWAP_64(x)
 
-#elif defined(__FreeBSD__)
+#elif defined(__DragonFly__) || defined(__FreeBSD__)
 #include <sys/endian.h>
 #define bswap_32(x) bswap32(x)
 #define bswap_64(x) bswap64(x)