[Libreoffice-commits] .: stoc/source

Tor Lillqvist tml at kemper.freedesktop.org
Mon Jun 13 16:01:25 PDT 2011


 stoc/source/corereflection/criface.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 93e79ed8eb7d2fab6b209f4c1de8859ead7b95cf
Author: Tor Lillqvist <tml at iki.fi>
Date:   Tue Jun 14 01:59:20 2011 +0300

    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.

diff --git a/stoc/source/corereflection/criface.cxx b/stoc/source/corereflection/criface.cxx
index cc96158..692e45a 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>


More information about the Libreoffice-commits mailing list