mirror of
https://github.com/MariaDB/server.git
synced 2026-05-06 23:25:34 +02:00
MDEV-11901 : MariaRocks on Windows
fixed compilation, disabled unix-only tests (the ones that use bash etc). Changed plugin library name to ha_rocksdb.dll/so
This commit is contained in:
parent
13c7839ba7
commit
5875633c2a
35 changed files with 756 additions and 344 deletions
|
|
@ -20,6 +20,16 @@
|
|||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <stdlib.h>
|
||||
#define htobe64 _byteswap_uint64
|
||||
#define be64toh _byteswap_uint64
|
||||
#define htobe32 _byteswap_ulong
|
||||
#define be32toh _byteswap_ulong
|
||||
#define htobe16 _byteswap_ushort
|
||||
#define be16toh _byteswap_ushort
|
||||
#endif
|
||||
|
||||
namespace myrocks {
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue