wesnoth-cvs-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Wesnoth-cvs-commits] wesnoth/src global.hpp


From: David White
Subject: [Wesnoth-cvs-commits] wesnoth/src global.hpp
Date: Sat, 08 Jan 2005 13:22:49 -0500

CVSROOT:        /cvsroot/wesnoth
Module name:    wesnoth
Branch:         
Changes by:     David White <address@hidden>    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

[Prev in Thread] Current Thread [Next in Thread]