Commit 76691bb6 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Change malloc to dlmalloc. Addresses #1032, #1343, #1328.

git-svn-id: file:///svn/toku/tokudb.1032b+1343@8471 c7de825b-a66e-492c-adef-691d508d4ae1
parent 5efae05c
...@@ -77,7 +77,8 @@ extern "C" { ...@@ -77,7 +77,8 @@ extern "C" {
int fstat() __attribute__((__deprecated__)); int fstat() __attribute__((__deprecated__));
int getpid(void) __attribute__((__deprecated__)); int getpid(void) __attribute__((__deprecated__));
long int syscall(long int __sysno, ...) __attribute__((__deprecated__)); long int syscall(long int __sysno, ...) __attribute__((__deprecated__));
long int sysconf(int) __attribute__((__deprecated__)); // Sadly, dlmalloc needs sysconf, and on linux this causes trouble with -combine. So let the warnings show up under windows only.
// long int sysconf(int) __attribute__((__deprecated__));
int mkdir() __attribute__((__deprecated__)); int mkdir() __attribute__((__deprecated__));
// strdup is a macro in some libraries. // strdup is a macro in some libraries.
#undef strdup #undef strdup
......
This diff is collapsed.
This diff is collapsed.
...@@ -42,6 +42,7 @@ BRT_SOURCES = \ ...@@ -42,6 +42,7 @@ BRT_SOURCES = \
brt \ brt \
brt-test-helpers \ brt-test-helpers \
cachetable \ cachetable \
dlmalloc \
fifo \ fifo \
fingerprint \ fingerprint \
key \ key \
......
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