Skip to content

Commit a0150fe

Browse files
committed
FT-312 fix centos compile
1 parent 88a7ade commit a0150fe

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/tests/big-shutdown.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ PATENT RIGHTS GRANT:
9797
#include <endian.h>
9898
#include <toku_time.h>
9999

100+
#ifndef htobe64
101+
#define htobe64(x) __bswap_64(x)
102+
#endif
103+
100104
// Insert max_rows key/val pairs into the db
101105
static void do_inserts(DB_ENV *env, DB *db, uint64_t max_rows, size_t val_size) {
102106
char val_data[val_size]; memset(val_data, 0, val_size);

0 commit comments

Comments
 (0)