]> git.saurik.com Git - wxWidgets.git/commitdiff
corrected VC++ version check
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 29 Jan 2008 19:50:34 +0000 (19:50 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 29 Jan 2008 19:50:34 +0000 (19:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/meta/movable.h

index 7fc60d0bbfd40ae34f7a1af9a4c6a937b41f9c17..5441bf586b219ecfd6f7143697eec74a44a8ad81 100644 (file)
@@ -56,7 +56,7 @@ WX_DECLARE_TYPE_MOVABLE(wxULongLong_t)
 // Visual C++ 6.0 can't compile partial template specializations and as this is
 // only an optimization, we can live with pointers not being recognized as
 // movable types under VC6
-#if !wxCHECK_VISUALC_VERSION(7)
+#if !defined(__VISUALC__) || wxCHECK_VISUALC_VERSION(7)
 
 // pointers are movable:
 template<typename T>