From 848a96a64c6fcb220231827558bfebc0e5267d89 Mon Sep 17 00:00:00 2001 From: Rich Prohaska <prohaska@tokutek.com> Date: Tue, 16 Apr 2013 23:57:54 -0400 Subject: [PATCH] solaris port. addresses #1789 git-svn-id: file:///svn/toku/tokudb@12535 c7de825b-a66e-492c-adef-691d508d4ae1 --- linux/toku_htonl.h | 2 +- sunos/memory.c | 1 + sunos/tests/test-pthread-rwlock-rwr.c | 1 + sunos/toku_htonl.h | 1 + sunos/toku_time.h | 1 + 5 files changed, 5 insertions(+), 1 deletion(-) create mode 120000 sunos/memory.c create mode 120000 sunos/tests/test-pthread-rwlock-rwr.c create mode 120000 sunos/toku_htonl.h create mode 120000 sunos/toku_time.h diff --git a/linux/toku_htonl.h b/linux/toku_htonl.h index d76723ee0e2..87b1ef2c0b4 100644 --- a/linux/toku_htonl.h +++ b/linux/toku_htonl.h @@ -1,7 +1,7 @@ #ifndef _TOKU_HTONL_H #define _TOKU_HTONL_H -#if !__linux__ && !__FreeBSD__ +#if !__linux__ && !__FreeBSD__ && !__sun__ #error #endif diff --git a/sunos/memory.c b/sunos/memory.c new file mode 120000 index 00000000000..0a88c1bd931 --- /dev/null +++ b/sunos/memory.c @@ -0,0 +1 @@ +../linux/memory.c \ No newline at end of file diff --git a/sunos/tests/test-pthread-rwlock-rwr.c b/sunos/tests/test-pthread-rwlock-rwr.c new file mode 120000 index 00000000000..8010709bd54 --- /dev/null +++ b/sunos/tests/test-pthread-rwlock-rwr.c @@ -0,0 +1 @@ +../../linux/tests/test-pthread-rwlock-rwr.c \ No newline at end of file diff --git a/sunos/toku_htonl.h b/sunos/toku_htonl.h new file mode 120000 index 00000000000..de4badf7d40 --- /dev/null +++ b/sunos/toku_htonl.h @@ -0,0 +1 @@ +../linux/toku_htonl.h \ No newline at end of file diff --git a/sunos/toku_time.h b/sunos/toku_time.h new file mode 120000 index 00000000000..d04c39df332 --- /dev/null +++ b/sunos/toku_time.h @@ -0,0 +1 @@ +../linux/toku_time.h \ No newline at end of file