summaryrefslogtreecommitdiff
path: root/games/torcs/gcc7.diff
blob: 705e9abb1c07eae79c880301ef6806fbd3a6dcad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur torcs-1.3.7/src/drivers/olethros/geometry.cpp torcs-1.3.7.patched/src/drivers/olethros/geometry.cpp
--- torcs-1.3.7/src/drivers/olethros/geometry.cpp	2006-01-06 10:22:29.000000000 -0500
+++ torcs-1.3.7.patched/src/drivers/olethros/geometry.cpp	2017-07-04 17:00:06.727000000 -0400
@@ -27,6 +27,8 @@
 #ifdef WIN32
 #include <float.h>
 #define isnan _isnan
+#else
+#define isnan std::isnan
 #endif