CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <[EMAIL PROTECTED]> 05/01/08 18:02:06

Modified files:
        src            : global.hpp 

Log message:
        fix to compile errors on VC++

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/wesnoth/wesnoth/src/global.hpp.diff?tr1=1.3&tr2=1.4&r1=text&r2=text

Patches:
Index: wesnoth/src/global.hpp
diff -u wesnoth/src/global.hpp:1.3 wesnoth/src/global.hpp:1.4
--- wesnoth/src/global.hpp:1.3  Fri Jan  7 23:55:47 2005
+++ wesnoth/src/global.hpp      Sat Jan  8 18:02:06 2005
@@ -22,6 +22,16 @@
 };
 
 static warning4786WorkAround 
VariableThatHacksWarning4786IntoBeingMutedForSomeUnknownReason;
+
+#include <cmath>
+
+namespace std
+{
+
+using ::floor;
+using ::sqrt;
+
+}
 
 //put the mathematical functions where they belong: in the std namespace
 //it is necessary for VC6 at least


Reply via email to