[BACK]Return to patch-src_libs_learning_policy_cpp CVS log [TXT][DIR] Up to [local] / ports / games / speed-dreams / patches

File: [local] / ports / games / speed-dreams / patches / Attic / patch-src_libs_learning_policy_cpp (download)

Revision 1.1, Sat Feb 5 11:45:02 2011 UTC (13 years, 4 months ago) by yason
Branch: MAIN

Initial revision

$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