Commit 6df921d9 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

refs #6184 run tests on darwin for fun

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@54657 c7de825b-a66e-492c-adef-691d508d4ae1
parent 98b46119
......@@ -15,7 +15,7 @@ endif
all: $(TARGETS)
clean:
rm -rf $(TARGETS) *.gcov *.gcno *.gcda *.testdir
rm -rf $(TARGETS) *.gcov *.gcno *.gcda *.testdir *.dSYM
check: $(CHECKS)
true
......
......@@ -6,13 +6,16 @@
#ident "Copyright (c) 2013 Tokutek Inc. All rights reserved."
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <memory.h>
#include <assert.h>
#include <errno.h>
#include <db.h>
#if __linux__
#include <endian.h>
#include <byteswap.h>
#endif
#include <sys/stat.h>
#include <sys/types.h>
typedef unsigned long long ulonglong;
#include "tokudb_status.h"
#include "tokudb_buffer.h"
......@@ -37,11 +40,14 @@ uint get_key_parts(KEY_INFO *key_info) {
assert(key_info);
return 0;
}
#if __APPLE__
typedef unsigned long ulong;
#endif
#include "tokudb_card.h"
static uint32_t hton32(uint32_t n) {
#if BYTE_ORDER == LITTLE_ENDIAN
return bswap_32(n);
return __builtin_bswap32(n);
#else
return n;
#endif
......
......@@ -6,12 +6,14 @@
#ident "Copyright (c) 2013 Tokutek Inc. All rights reserved."
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <memory.h>
#include <assert.h>
#include <errno.h>
#include <db.h>
#if __linux__
#include <endian.h>
#include <byteswap.h>
#endif
#include <sys/stat.h>
typedef unsigned long long ulonglong;
#include "tokudb_status.h"
......@@ -37,11 +39,14 @@ uint get_key_parts(KEY_INFO *key_info) {
assert(key_info);
return 0;
}
#if __APPLE__
typedef unsigned long ulong;
#endif
#include "tokudb_card.h"
static uint32_t hton32(uint32_t n) {
#if BYTE_ORDER == LITTLE_ENDIAN
return bswap_32(n);
return __builtin_bswap32(n);
#else
return n;
#endif
......
......@@ -6,12 +6,14 @@
#ident "Copyright (c) 2013 Tokutek Inc. All rights reserved."
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <memory.h>
#include <assert.h>
#include <errno.h>
#include <db.h>
#if __linux__
#include <endian.h>
#include <byteswap.h>
#endif
#include <sys/stat.h>
typedef unsigned long long ulonglong;
#include "tokudb_status.h"
......@@ -37,11 +39,14 @@ uint get_key_parts(KEY_INFO *key_info) {
assert(key_info);
return 0;
}
#if __APPLE__
typedef unsigned long ulong;
#endif
#include "tokudb_card.h"
static uint32_t hton32(uint32_t n) {
#if BYTE_ORDER == LITTLE_ENDIAN
return bswap_32(n);
return __builtin_bswap32(n);
#else
return n;
#endif
......
......@@ -7,12 +7,14 @@
#ident "Copyright (c) 2013 Tokutek Inc. All rights reserved."
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <memory.h>
#include <assert.h>
#include <errno.h>
#include <db.h>
#if __linux__
#include <endian.h>
#include <byteswap.h>
#endif
#include <sys/stat.h>
typedef unsigned long long ulonglong;
#include "tokudb_status.h"
......@@ -38,11 +40,14 @@ uint get_key_parts(KEY_INFO *key_info) {
assert(key_info);
return 0;
}
#if __APPLE__
typedef unsigned long ulong;
#endif
#include "tokudb_card.h"
static uint32_t hton32(uint32_t n) {
#if BYTE_ORDER == LITTLE_ENDIAN
return bswap_32(n);
return __builtin_bswap32(n);
#else
return n;
#endif
......
......@@ -32,6 +32,9 @@ uint get_key_parts(KEY_INFO *key_info) {
assert(key_info);
return 0;
}
#if __APPLE__
typedef unsigned long ulong;
#endif
#include <tokudb_card.h>
// verify that we can create and close a status dictionary
......
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