Commit f4715b26 authored by Rich Prohaska's avatar Rich Prohaska

FT-312 fix centos compile

parent bd85b8ce
...@@ -97,6 +97,10 @@ PATENT RIGHTS GRANT: ...@@ -97,6 +97,10 @@ PATENT RIGHTS GRANT:
#include <endian.h> #include <endian.h>
#include <toku_time.h> #include <toku_time.h>
#ifndef htobe64
#define htobe64(x) __bswap_64(x)
#endif
// Insert max_rows key/val pairs into the db // Insert max_rows key/val pairs into the db
static void do_inserts(DB_ENV *env, DB *db, uint64_t max_rows, size_t val_size) { static void do_inserts(DB_ENV *env, DB *db, uint64_t max_rows, size_t val_size) {
char val_data[val_size]; memset(val_data, 0, val_size); char val_data[val_size]; memset(val_data, 0, val_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment