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
commit0d51eab31fa305a702218203e9683c102cfe83a2 (patch)
treea062a0375a972873869cab73a5979fda08e8e9d7 /stoc
parentb6dffaf8f81ef07e048089eccda272750984d944 (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 ee5bd66f2865..b30c87d7fabc 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>