From 5a030c81530b584b3689b2b2e40332757ccf5964 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Wed, 20 Mar 2002 12:14:41 +0000 Subject: [PATCH] Compile fix. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3788 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/ChangeLog | 5 +++++ src/mathed/math_charinset.C | 3 +++ 2 files changed, 8 insertions(+) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 0689349782..6b5ef7f759 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,8 @@ +2002-03-18 Angus Leeming + + * math_charinset.C: wrap the std::strchr declaration inside a + check for CXX_GLOBAL_CSTD. + 2002-03-18 Angus Leeming * math_biginset.[Ch] (size): return size_type, not int. diff --git a/src/mathed/math_charinset.C b/src/mathed/math_charinset.C index 94e6454a7d..4e056afb07 100644 --- a/src/mathed/math_charinset.C +++ b/src/mathed/math_charinset.C @@ -21,7 +21,10 @@ using std::ostream; using std::endl; + +#ifndef CXX_GLOBAL_CSTD using std::strchr; +#endif bool isBinaryOp(char c, MathTextCodes type) -- 2.39.2