[llvm-commits] CVS: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/gs/malloc_.h
Misha Brukman
brukman at cs.uiuc.edu
Tue Jul 20 09:12:42 PDT 2004
Changes in directory llvm/test/Programs/MultiSource/Benchmarks/MallocBench/gs:
malloc_.h updated: 1.2 -> 1.3
---
Log message:
MacOS X declares malloc() in <stdlib.h>
---
Diffs of the changes: (+1 -1)
Index: llvm/test/Programs/MultiSource/Benchmarks/MallocBench/gs/malloc_.h
diff -u llvm/test/Programs/MultiSource/Benchmarks/MallocBench/gs/malloc_.h:1.2 llvm/test/Programs/MultiSource/Benchmarks/MallocBench/gs/malloc_.h:1.3
--- llvm/test/Programs/MultiSource/Benchmarks/MallocBench/gs/malloc_.h:1.2 Wed Jun 23 09:23:34 2004
+++ llvm/test/Programs/MultiSource/Benchmarks/MallocBench/gs/malloc_.h Tue Jul 20 11:12:32 2004
@@ -30,7 +30,7 @@
# ifdef BSD4_2
extern char *malloc();
# else
-# if defined(__FreeBSD__)
+# if defined(__FreeBSD__) || defined(__APPLE__)
# include <stdlib.h>
# else
# include <malloc.h>
More information about the llvm-commits
mailing list