[llvm-commits] CVS: llvm/test/Programs/MultiSource/Benchmarks/Olden/voronoi/newvor.c
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Jun 15 13:48:01 PDT 2004
Changes in directory llvm/test/Programs/MultiSource/Benchmarks/Olden/voronoi:
newvor.c updated: 1.4 -> 1.5
---
Log message:
Make it link on Mac OS X, where there is no memalign. Of course, we could
use valloc(), but this was just so handy...
---
Diffs of the changes: (+4 -0)
Index: llvm/test/Programs/MultiSource/Benchmarks/Olden/voronoi/newvor.c
diff -u llvm/test/Programs/MultiSource/Benchmarks/Olden/voronoi/newvor.c:1.4 llvm/test/Programs/MultiSource/Benchmarks/Olden/voronoi/newvor.c:1.5
--- llvm/test/Programs/MultiSource/Benchmarks/Olden/voronoi/newvor.c:1.4 Tue May 25 03:31:18 2004
+++ llvm/test/Programs/MultiSource/Benchmarks/Olden/voronoi/newvor.c Tue Jun 15 13:41:12 2004
@@ -160,6 +160,10 @@
void delete_all_edges() { next_edge= 0; avail_edge = NYL;}
+#if defined(__POWERPC__)
+#define MEMALIGN_IS_NOT_AVAILABLE
+#endif
+
/* memalign() on my SGI doesn't work. Thus, I have to write my own */
void* myalign(int align_size, int alloc_size)
{
More information about the llvm-commits
mailing list