fully clean windows build

This commit is contained in:
Mike Jerris 2015-09-04 13:28:55 -04:00
parent 5b4b82c4f0
commit 84504b04c8
2 changed files with 7 additions and 3 deletions

View File

@ -247,8 +247,8 @@ static unsigned long bits_to_size(const int bit_n)
static void *alloc_pages(mpool_t *mp_p, const unsigned int page_n,
int *error_p)
{
void *mem, *fill_mem;
unsigned long size, fill;
void *mem;
unsigned long size;
int state;
/* are we over our max-pages? */

View File

@ -43,8 +43,12 @@
#include <io.h>
#include <malloc.h>
#define NO_MMAP
#ifndef open
#define open _open
#endif
#ifndef fdopen
#define fdopen _fdopen
#endif
#endif
#ifndef NO_MMAP