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 | 0d51eab31fa305a702218203e9683c102cfe83a2 (patch) | |
tree | a062a0375a972873869cab73a5979fda08e8e9d7 /stoc | |
parent | Fix SAL_MATH_FINITE definition for iOS (diff) | |
download | core-0d51eab31fa305a702218203e9683c102cfe83a2.tar.gz core-0d51eab31fa305a702218203e9683c102cfe83a2.zip |
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 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> |