X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Ftypes.h;h=cb1de177ac3d12c29b1b85ee2b2d61ebb4619695;hb=a5263e0f927034885870a65053ef3908d1c6f885;hp=6151a676e1752425b4239013ea65c7fc2bb64285;hpb=e91114cdcbe7c6f5ebdf6b2e230d66c47bab96e1;p=features.git diff --git a/src/support/types.h b/src/support/types.h index 6151a676e1..cb1de177ac 100644 --- a/src/support/types.h +++ b/src/support/types.h @@ -16,23 +16,10 @@ #ifndef LYX_TYPES_H #define LYX_TYPES_H -#include - #include namespace lyx { - /// The type used to hold characters in paragraphs -#ifdef USE_WCHAR_T - // Prefer this if possible because GNU libstdc++ has usable - // std::ctype locale facets but not - // std::ctype. gcc older than 3.4 is also missing - // usable std::char_traits. - typedef wchar_t char_type; -#else - typedef boost::uint32_t char_type; -#endif - /// a type for positions used in paragraphs // needs to be signed for a while to hold the special value -1 that is // used there