Group :: Games/Sports
RPM: TORCS
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: torcs-1.3.7-isnan.patch
Download
Download
diff -up torcs-1.3.7/src/drivers/olethros/geometry.cpp.orig torcs-1.3.7/src/drivers/olethros/geometry.cpp
--- torcs-1.3.7/src/drivers/olethros/geometry.cpp.orig 2016-06-07 19:49:11.347896827 +0100
+++ torcs-1.3.7/src/drivers/olethros/geometry.cpp 2016-06-07 19:49:46.532894257 +0100
@@ -27,6 +27,8 @@
#ifdef WIN32
#include <float.h>
#define isnan _isnan
+#else
+#define isnan std::isnan
#endif