mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
c5ee5edd41
commit
c6f8a4ade9
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
||||
///
|
||||
|
Loading…
Reference in New Issue
Block a user