From 121a0cedc80c5541d51599383486ba9a7397c6ce Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Tue, 19 Apr 2016 11:22:45 +0100 Subject: [PATCH] Revert "nv50/ra: `isinf()` is in namespace `std` since C++11." This reverts commit f525db6358fbaa7b4296d2e6484e0b1ae703ac78. It was superseeded by commit 649704f1f7c9e1d0990d34a76154b2eb656bee42. --- src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp | 4 ---- 1 file changed, 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; } -- 2.30.2