summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorPatrick Luby <pluby@openoffice.org>2000-10-19 17:26:50 +0000
committerPatrick Luby <pluby@openoffice.org>2000-10-19 17:26:50 +0000
commit11bc6b411672bdd5086bcac586be5ce67b630bc0 (patch)
treec52949dcd8af2ac0a3a8f10578eeb0a52548f39a /cppu
parentb0d43be872e35494d28978223c2e48f4b2bbdfa9 (diff)
Added #ifdef for finding malloc.h on Mac OS X
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/lbenv.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/cppu/source/uno/lbenv.cxx b/cppu/source/uno/lbenv.cxx
index 899909be1d85..80597c819df9 100644
--- a/cppu/source/uno/lbenv.cxx
+++ b/cppu/source/uno/lbenv.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: lbenv.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 15:25:53 $
+ * last change: $Author: pluby $ $Date: 2000-10-19 18:26:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -90,6 +90,8 @@
#include <stdio.h>
#ifdef SOLARIS
#include <alloca.h>
+#elif defined MACOSX
+#include <sys/malloc.h>
#else
#include <malloc.h>
#endif