[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/inc

Kohei Yoshida kohei.yoshida at collabora.com
Wed Mar 5 12:37:32 PST 2014


 sc/inc/stlalgorithm.hxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 6a2d5f7f42406487ca2c77ed1c17856c5a4b47b8
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date:   Wed Mar 5 15:35:33 2014 -0500

    Build fix for OSX.
    
    Change-Id: I63613c40a5a947625c449fcd52ca129af116c900

diff --git a/sc/inc/stlalgorithm.hxx b/sc/inc/stlalgorithm.hxx
index 5cc22f2..fb2b35b 100644
--- a/sc/inc/stlalgorithm.hxx
+++ b/sc/inc/stlalgorithm.hxx
@@ -14,7 +14,9 @@
 #include <limits>
 
 #include <stdlib.h>
+#if defined(WNT) || defined (__ANDROID__)
 #include <malloc.h>
+#endif
 
 /**
  * Function object to allow deleting instances stored in STL containers as


More information about the Libreoffice-commits mailing list