]> git.lyx.org Git - lyx.git/blobdiff - src/support/LSubstring.C
small changes read changelog
[lyx.git] / src / support / LSubstring.C
index 3abf851057a323f6537cbd05ed52857121f5b184..b873c23cf39dad73c58f189b3063c63e33f90436 100644 (file)
 
 #include "LSubstring.h"
 
+#ifndef CXX_GLOBAL_CSTD
+using std::strlen;
+#endif
+
+
 
 LSubstring::LSubstring(string & s, size_type i, size_type l)
        : ps(&s), pos(i), n(l)
@@ -35,7 +40,7 @@ LSubstring::LSubstring(string & s, string const & s2)
 LSubstring::LSubstring(string & s, string::value_type const * p)
        : ps(&s)
 {
-       n = std::strlen(p);
+       n = strlen(p);
        pos = s.find(p);
 }