summaryrefslogtreecommitdiff
path: root/user/torcs/torcs-1.3.6-gcc6.patch
blob: 6daf22a81b11308e040e30835c9c9d70deca05d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/drivers/olethros/geometry.cpp
+++ b/src/drivers/olethros/geometry.cpp
@@ -27,6 +27,8 @@
 #ifdef WIN32
 #include <float.h>
 #define isnan _isnan
+#elif __cplusplus >= 201103L
+using std::isnan;
 #endif