summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-04-19 11:22:45 +0100
committerJose Fonseca <[email protected]>2016-04-19 11:22:45 +0100
commit121a0cedc80c5541d51599383486ba9a7397c6ce (patch)
tree2cbe0dd503bd023719ede4642105e6702ca8f976
parent802b9292aae724b8ac210fdb43681b05697a76bf (diff)
Revert "nv50/ra: `isinf()` is in namespace `std` since C++11."
This reverts commit f525db6358fbaa7b4296d2e6484e0b1ae703ac78. It was superseeded by commit 649704f1f7c9e1d0990d34a76154b2eb656bee42.
-rw-r--r--src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
index 1b595aec364..500ab8915de 100644
--- a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
+++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp
@@ -1327,11 +1327,7 @@ GCRA::simplify()
bestScore = score;
}
}
-#if __cplusplus >= 201103L
- if (std::isinf(bestScore)) {
-#else
if (isinf(bestScore)) {
-#endif
ERROR("no viable spill candidates left\n");
break;
}