diff options
author | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-23 13:03:44 (GMT) |
---|---|---|
committer | Dimitri van Heesch <doxygen@gmail.com> | 2019-12-23 13:03:44 (GMT) |
commit | 54ec927d886b895b1ec7bbe62c143b052970fdf6 (patch) | |
tree | 3cc9a9a066c237cf46cf107e48afa8f7a0e20aab /src/markdown.cpp | |
parent | 38337d6d42a0630b988728b89fd016bec5b46c1c (diff) | |
download | Doxygen-54ec927d886b895b1ec7bbe62c143b052970fdf6.zip Doxygen-54ec927d886b895b1ec7bbe62c143b052970fdf6.tar.gz Doxygen-54ec927d886b895b1ec7bbe62c143b052970fdf6.tar.bz2 |
Fix for use of non portable strnstr function
Diffstat (limited to 'src/markdown.cpp')
-rw-r--r-- | src/markdown.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/markdown.cpp b/src/markdown.cpp index 0a71aae..8594a15 100644 --- a/src/markdown.cpp +++ b/src/markdown.cpp @@ -51,6 +51,7 @@ #include "config.h" #include "section.h" #include "message.h" +#include "portable.h" //----------- @@ -1031,7 +1032,7 @@ static int processCodeSpan(GrowBuf &out, const char *data, int /*offset*/, int s static void addStrEscapeUtf8Nbsp(GrowBuf &out,const char *s,int len) { - if (strnstr(s,g_doxy_nsbp,len)==0) // no escape needed -> fast + if (Portable::strnstr(s,g_doxy_nsbp,len)==0) // no escape needed -> fast { out.addStr(s,len); } |