Since it asks for a report --
make check-TESTS
ERROR: expected 0x99929334, but got 0xf17ccd
ERROR: expected 0x4252edb7, but got 0xe31c559c
ERROR: expected 0xebc34f3c, but got 0x925c89c6
ERROR: expected 0x26f2b463, but got 0x8c57fdfd
FAIL: cityhash_unittest
==================================================
1 of 1 test failed
Please report to
cityhash...@googlegroups.com
==================================================
The source is:
URL:
http://cityhash.googlecode.com/svn/trunk
Repository Root:
http://cityhash.googlecode.com/svn
Repository UUID: 325e1591-7dc4-fa6a-e451-e4e085be5db0
Revision: 11
Node Kind: directory
Schedule: normal
Last Changed Author:
gp...@google.com
Last Changed Rev: 11
Last Changed Date: 2012-10-24 16:24:12 -0700 (Wed, 24 Oct 2012)
with the addition of:
--- src/city.cc (revision 11)
+++ src/city.cc (working copy)
@@ -53,6 +53,11 @@
#define bswap_32(x) _byteswap_ulong(x)
#define bswap_64(x) _byteswap_uint64(x)
+#elif defined(__FreeBSD__)
+#include <sys/endian.h>
+#define bswap_32(x) bswap32(x)
+#define bswap_64(x) bswap64(x)
+
#elif defined(__APPLE__)
// Mac OS X / Darwin features
The system is:
FreeBSD kestrel 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r244983: Thu Jan 3 09:27:01 PST 2013 root@kestrel:/usr/obj/usr/src/sys/GENERIC powerpc
g++ --version
g++ (GCC) 4.2.1 20070831 patched [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.