summaryrefslogtreecommitdiff
path: root/emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp')
-rw-r--r--emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp b/emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp
new file mode 100644
index 000000000000..6ec7e348c636
--- /dev/null
+++ b/emulators/ppsspp/files/patch-native_ext_cityhash_city.cpp
@@ -0,0 +1,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)