added config.h for #ifdef business isolation, added fstat64 for Mac OS X

This commit is contained in:
antirez
2009-06-05 10:50:51 +02:00
parent ec93bba353
commit dde65f3f3c
4 changed files with 25 additions and 10 deletions

View File

@ -30,12 +30,7 @@
#include <stdlib.h>
#include <string.h>
#ifdef __APPLE__
#include <malloc/malloc.h>
#define HAVE_MALLOC_SIZE
#define redis_malloc_size(p) malloc_size(p)
#endif
#include "config.h"
static size_t used_memory = 0;