Revert "nv50/ra: `isinf()` is in namespace `std` since C++11."
authorJose Fonseca <jfonseca@vmware.com>
Tue, 19 Apr 2016 10:22:45 +0000 (11:22 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Tue, 19 Apr 2016 10:22:45 +0000 (11:22 +0100)
This reverts commit f525db6358fbaa7b4296d2e6484e0b1ae703ac78.

It was superseeded by commit 649704f1f7c9e1d0990d34a76154b2eb656bee42.

src/gallium/drivers/nouveau/codegen/nv50_ir_ra.cpp

index 1b595aec364c9e458592b1b1a12ae49e893fe0b8..500ab8915de7f3f222ace12c2fc4b096253fae50 100644 (file)
@@ -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;
          }