]> git.saurik.com Git - wxWidgets.git/commitdiff
OpenVMS chokes on external templates
authorJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 11 Sep 2008 20:50:12 +0000 (20:50 +0000)
committerJouk Jansen <joukj@hrem.nano.tudelft.nl>
Thu, 11 Sep 2008 20:50:12 +0000 (20:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/string.cpp

index bb5029fcf486eeb498a84a7a4567b682630bc27d..595caf71257daa6259c51b4c006b22304f15a879 100644 (file)
@@ -2123,10 +2123,14 @@ wxUTF8StringBufferLength::~wxUTF8StringBufferLength()
 // wxCharBufferType<T>
 // ----------------------------------------------------------------------------
 
+#ifndef __VMS_BROKEN_TEMPLATES
 template<>
+#endif
 wxCharTypeBuffer<char>::Data
 wxCharTypeBuffer<char>::NullData(NULL);
 
+#ifndef __VMS_BROKEN_TEMPLATES
 template<>
+#endif
 wxCharTypeBuffer<wchar_t>::Data
 wxCharTypeBuffer<wchar_t>::NullData(NULL);