LYX_CXX_GLOBAL_CSTD is not really useful anymore

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22113 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2007-12-12 21:49:13 +00:00
parent c5ee5edd41
commit c6f8a4ade9
2 changed files with 3 additions and 7 deletions

View File

@ -81,7 +81,7 @@ dnl we do not need that currently (and probably all our supported
dnl compiler allow that)
dnl LYX_CXX_PARTIAL
dnl LYX_CXX_EXPLICIT
LYX_CXX_GLOBAL_CSTD
dnl LYX_CXX_GLOBAL_CSTD
dnl LYX_STD_COUNT
dnl we disable rtti for now
dnl LYX_CXX_RTTI

View File

@ -37,14 +37,10 @@ int compare_ascii_no_case(std::string const & s, std::string const & s2);
int compare_ascii_no_case(docstring const & s, docstring const & s2);
///
inline
int compare(char const * a, char const * b)
inline int compare(char const * a, char const * b)
{
#ifndef CXX_GLOBAL_CSTD
return std::strcmp(a, b);
#else
using namespace std;
return strcmp(a, b);
#endif
}
///