Return to patch-src_drivers_olethros_geometry_cpp CVS log | Up to [local] / ports / games / torcs / patches |
File: [local] / ports / games / torcs / patches / patch-src_drivers_olethros_geometry_cpp (download)
Revision 1.1, Mon Oct 11 11:45:43 2010 UTC (13 years, 7 months ago) by yason
make it compile |
$OpenBSD$ --- src/drivers/olethros/geometry.cpp.orig Mon Oct 11 13:39:29 2010 +++ src/drivers/olethros/geometry.cpp Mon Oct 11 13:40:07 2010 @@ -27,6 +27,9 @@ #ifdef WIN32 #include <float.h> #define isnan _isnan +#else +#include <math.h> +#define isnan __isnanf #endif