* fixed GCC 4.4.0 mingw compilation:
[fw/sdcc] / support / Util / NewAlloc.c
index ff163999dbfa757ecdbf0449ec20c14fd357f032..fb8a180aa75fae876c356533e4bcfa6c554424ba 100644 (file)
@@ -28,11 +28,6 @@ functions.
 */
 
 #include <stdio.h>
-#if defined(__APPLE__) && defined(__MACH__)
-#include <sys/malloc.h>
-#else
-#include <malloc.h>
-#endif
 #include <stdlib.h>
 #include <string.h>
 #include <memory.h>
@@ -48,7 +43,7 @@ functions.
    allocated with malloc() then the program will segfault.  Might as
    well drop it and let the garbase collector take care of things.
 */
-#define FREE(_a)       
+#define FREE(_a)
 
 #else