diff options
author | Tor Lillqvist <tml@iki.fi> | 2011-06-14 01:59:20 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2011-06-14 01:59:26 +0300 |
commit | 93e79ed8eb7d2fab6b209f4c1de8859ead7b95cf (patch) | |
tree | 35f5ca308b64917595ddb4a3a83a6d27df2b1d7a /stoc | |
parent | 28a5409787b9a9f288ec7a2e53ec32e212e6ca4c (diff) |
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.
Diffstat (limited to 'stoc')
-rw-r--r-- | stoc/source/corereflection/criface.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx index cc96158d1..692e45ae1 100644 --- a/stoc/source/corereflection/criface.cxx +++ b/stoc/source/corereflection/criface.cxx @@ -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> |