[BACK]Return to patch-src_drivers_olethros_driver_cpp CVS log [TXT][DIR] Up to [local] / ports / games / torcs / patches

File: [local] / ports / games / torcs / patches / patch-src_drivers_olethros_driver_cpp (download)

Revision 1.1, Mon Oct 11 11:45:43 2010 UTC (13 years, 7 months ago) by yason
Branch: MAIN
CVS Tags: HEAD

make it compile

$OpenBSD$
--- src/drivers/olethros/driver.cpp.orig	Mon Oct 11 13:40:29 2010
+++ src/drivers/olethros/driver.cpp	Mon Oct 11 13:41:04 2010
@@ -41,6 +41,8 @@
 #ifdef WIN32
 #include <float.h>
 #define isnan _isnan
+#else
+#define isnan __isnanf
 #endif
 
 #undef TEST_PITSTOPS