]> git.lyx.org Git - lyx.git/blobdiff - src/support/docstring.cpp
Possibly fix this bug:
[lyx.git] / src / support / docstring.cpp
index 35414934168f5a967418ea7aa83e1b428e605e5c..ba424cd2c7adc6a8a46ca89a7e1dab8752c200de 100644 (file)
@@ -217,7 +217,7 @@ lyx::docstring & operator+=(lyx::docstring & l, char r)
 
 } // namespace lyx
 
-#if (!defined(HAVE_WCHAR_T) || SIZEOF_WCHAR_T != 4) && defined(__GNUC__)
+#if ! defined(USE_WCHAR_T) && defined(__GNUC__)
 
 // gcc does not have proper locale facets for lyx::char_type if
 // sizeof(wchar_t) == 2, so we have to implement them on our own.