Don't use locale facilities for sorting when compiling with GCC 3

as it is missing proper locale facets support.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19054 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2007-07-12 10:26:10 +00:00
parent f99d41a25a
commit 97c5327dd7

View File

@ -1108,7 +1108,7 @@ class Sorter
LanguagePair, bool>
{
public:
#if !defined(USE_WCHAR_T) && defined(__GNUC__)
#if defined(__GNUC__) && (!defined(USE_WCHAR_T) || __GNUC__ < 4)
bool operator()(LanguagePair const & lhs,
LanguagePair const & rhs) const {
return lhs.first < rhs.first;