[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c

Andrew Lenharth alenhar2 at cs.uiuc.edu
Thu Apr 26 12:55:44 PDT 2007



Changes in directory llvm-test/MultiSource/Benchmarks/Olden/voronoi:

newvor.c updated: 1.11 -> 1.12
---
Log message:

I think the correct thing to do is decide if malloc.h should be included based on OS, not arch

---
Diffs of the changes:  (+1 -1)

 newvor.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c
diff -u llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c:1.11 llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c:1.12
--- llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c:1.11	Mon Apr 17 12:55:40 2006
+++ llvm-test/MultiSource/Benchmarks/Olden/voronoi/newvor.c	Thu Apr 26 14:55:25 2007
@@ -4,7 +4,7 @@
 #include <stdlib.h>
 #include "defines.h"
 
-#if defined(__alpha__)
+#if defined(__alpha__) || defined(__x86_64__)
 #include <malloc.h>
 #endif
 






More information about the llvm-commits mailing list