From: Jose Fonseca Date: Tue, 19 Apr 2016 10:22:45 +0000 (+0100) Subject: Revert "nv50/ra: `isinf()` is in namespace `std` since C++11." X-Git-Tag: upstream/17.1.0~10962 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=121a0cedc80c5541d51599383486ba9a7397c6ce;p=platform%2Fupstream%2Fmesa.git Revert "nv50/ra: `isinf()` is in namespace `std` since C++11." This reverts commit f525db6358fbaa7b4296d2e6484e0b1ae703ac78. It was superseeded by commit 649704f1f7c9e1d0990d34a76154b2eb656bee42. --- diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp index 1b595ae..500ab89 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; }