]> git.lyx.org Git - features.git/commitdiff
LYX_CXX_GLOBAL_CSTD is not really useful anymore
authorAndré Pönitz <poenitz@gmx.net>
Wed, 12 Dec 2007 21:49:13 +0000 (21:49 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 12 Dec 2007 21:49:13 +0000 (21:49 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22113 a592a061-630c-0410-9148-cb99ea01b6c8

configure.ac
src/support/lstrings.h

index f082e225e0adf332c85cb88b714933c98c2c7531..1f176e78b5d6f510b5584f8b5e61b79153232b91 100644 (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
index bcf4b5aaca6990d2941cc438edce88192c83c2b0..016331f27bf76ab1f3d570812a4e4e5fe1ed3da8 100644 (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
 }
 
 ///