Commit b2194b83 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

fix windows compile issues. addresses #1328

git-svn-id: file:///svn/toku/tokudb.1032b@8372 c7de825b-a66e-492c-adef-691d508d4ae1
parent f5d9cb9f
......@@ -102,7 +102,6 @@ void memarena_move_buffers(MEMARENA dest, MEMARENA source) {
move_counter++;
REALLOC_N(dest->n_other_bufs + source->n_other_bufs + 1, other_bufs);
if (other_bufs == 0) {
extern int toku_malloc_counter, toku_realloc_counter, toku_free_counter;
#if defined(_WIN32)
printf("_CrtCheckMemory:%d\n", _CrtCheckMemory());
#endif
......
......@@ -95,5 +95,8 @@ void toku_malloc_report (void); /* report on statistics about number of mallocs.
// The array is terminated by a -1.
extern int *toku_dead_mallocs;
extern int toku_malloc_counter; // so you can reset it
extern int toku_realloc_counter;
extern int toku_calloc_counter;
extern int toku_free_counter;
#endif
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