Return to patch-src_libs_learning_policy_cpp CVS log | Up to [local] / ports / games / torcs / patches |
File: [local] / ports / games / torcs / patches / patch-src_libs_learning_policy_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/libs/learning/policy.cpp.orig Mon Oct 11 12:29:43 2010 +++ src/libs/learning/policy.cpp Mon Oct 11 12:31:20 2010 @@ -18,6 +18,9 @@ #ifdef WIN32 #include <float.h> #define isnan _isnan +#else +#include <math.h> +#define isnan __isnanf #endif // WIN32 #undef POLICY_LOG