]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/longlong.h
don't define WINVER as 0x0400 in configure, it's defined in the headers as 0x0600...
[wxWidgets.git] / include / wx / longlong.h
index 9b6553ea9a22eaaf282fb0b8b1921bc33400dd2d..b6cc42b479587bdb8c4e2508bbbf324dac5cc50d 100644 (file)
@@ -411,7 +411,11 @@ public:
     }
 
         // convert to double
     }
 
         // convert to double
+#ifdef _MSC_VER
+    double ToDouble() const { return wx_truncate_cast(double, (__int64) m_ll); }
+#else
     double ToDouble() const { return wx_truncate_cast(double, m_ll); }
     double ToDouble() const { return wx_truncate_cast(double, m_ll); }
+#endif
 
     // operations
         // addition
 
     // operations
         // addition