]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
fully clean windows build
authorMike Jerris <mike@jerris.com>
Fri, 4 Sep 2015 17:28:55 +0000 (13:28 -0400)
committerMike Jerris <mike@jerris.com>
Fri, 4 Sep 2015 17:28:55 +0000 (13:28 -0400)
libs/libks/src/mpool.c
libs/libks/src/table.c

index be55109dd1e2a9b02d471cb1a6a2dda801d8cca7..d37997546f3ff68ef551085babf280fdbcd8660d 100644 (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? */
index 26efc0c7fd59f266a8775d407fc68022342d17df..d948dc58855d4dea97dfc896b43934d817b8cc11 100644 (file)
 #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