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:
Tor Lillqvist 2011-06-14 01:59:20 +03:00
parent b6dffaf8f8
commit 0d51eab31f

View file

@ -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>