]> git.lyx.org Git - features.git/commitdiff
compil fix. No guaranty that it works but at least it compiles with MSVC
authorAbdelrazak Younes <younes@lyx.org>
Wed, 7 Nov 2007 22:20:13 +0000 (22:20 +0000)
committerAbdelrazak Younes <younes@lyx.org>
Wed, 7 Nov 2007 22:20:13 +0000 (22:20 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21501 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/strfwd.h

index 324560952fd4bb4cbb5e52b6ffa32f28d8041ad7..32a8248118959c1813748457706f246a20e61ad5 100644 (file)
@@ -33,7 +33,9 @@ namespace std {
 
 template<typename Char> struct char_traits;
 template<> struct char_traits<char>;
-template<> struct char_traits<lyx::char_type>;
+#ifdef USE_WCHAR_T
+template<> struct char_traits<wchar_t>;
+#endif
 
 template<typename Alloc> class allocator;