summaryrefslogtreecommitdiffstats
path: root/test/unit/math.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/math.c')
-rw-r--r--test/unit/math.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/math.c b/test/unit/math.c
index ebec77a..adb72be 100644
--- a/test/unit/math.c
+++ b/test/unit/math.c
@@ -5,6 +5,10 @@
#include <float.h>
+#ifdef __PGI
+#undef INFINITY
+#endif
+
#ifndef INFINITY
#define INFINITY (DBL_MAX + DBL_MAX)
#endif