mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-16 08:49:01 +00:00
fully clean windows build
This commit is contained in:
parent
5b4b82c4f0
commit
84504b04c8
@ -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? */
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user