No malloc.h in iOS SDK either
Why this source file bothers including <malloc.h> at all (on platforms where it exists) I have no idea... This is C++ for chrissake. And the standard C location for the malloc() declaration is <stdlib.h> anyway.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#ifdef SAL_UNX
|
||||
#include <sal/alloca.h>
|
||||
#endif
|
||||
#if !(defined(MACOSX) || defined(FREEBSD))
|
||||
#if !(defined(MACOSX) || defined(IOS) || defined(FREEBSD))
|
||||
#include <malloc.h>
|
||||
#endif
|
||||
#include <rtl/alloc.h>
|
||||
|
Reference in New Issue
Block a user