[llvm-commits] CVS: llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame/lame.c
Chris Lattner
sabre at nondot.org
Fri Mar 30 13:32:00 PDT 2007
Changes in directory llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame:
lame.c updated: 1.2 -> 1.3
---
Log message:
fix compilation on darwin
---
Diffs of the changes: (+2 -0)
lame.c | 2 ++
1 files changed, 2 insertions(+)
Index: llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame/lame.c
diff -u llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame/lame.c:1.2 llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame/lame.c:1.3
--- llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame/lame.c:1.2 Thu Mar 29 11:53:54 2007
+++ llvm-test/MultiSource/Benchmarks/MiBench/consumer-lame/lame.c Fri Mar 30 15:31:43 2007
@@ -1199,6 +1199,7 @@
/*
* Disable floating point exepctions
*/
+#ifdef __FreeBSD__
{
/* seet floating point mask to the Linux default */
fp_except_t mask;
@@ -1207,6 +1208,7 @@
fpsetmask(mask & ~(FP_X_INV|FP_X_DZ));
/* fprintf(stderr,"FreeBSD mask is 0x%x\n",mask); */
}
+#endif
#if defined(__riscos__) && !defined(ABORTFP)
/* Disable FPE's under RISC OS */
/* if bit is set, we disable trapping that error! */
More information about the llvm-commits
mailing list