summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-06-14 01:59:20 +0300
committerTor Lillqvist <tml@iki.fi>2011-06-14 01:59:26 +0300
commit93e79ed8eb7d2fab6b209f4c1de8859ead7b95cf (patch)
tree35f5ca308b64917595ddb4a3a83a6d27df2b1d7a /stoc
parent28a5409787b9a9f288ec7a2e53ec32e212e6ca4c (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.cxx2
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>