X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1e9bafca0f56de34638d4c3fef8cf74fe9351193..c13d6ac1ea199d1e3908d40d129e2fd5a4d82df7:/src/stc/scintilla/include/SString.h diff --git a/src/stc/scintilla/include/SString.h b/src/stc/scintilla/include/SString.h index 38a206ccf2..b770afebee 100644 --- a/src/stc/scintilla/include/SString.h +++ b/src/stc/scintilla/include/SString.h @@ -8,11 +8,16 @@ #ifndef SSTRING_H #define SSTRING_H + // These functions are implemented because each platform calls them something different. int CompareCaseInsensitive(const char *a, const char *b); int CompareNCaseInsensitive(const char *a, const char *b, size_t len); bool EqualCaseInsensitive(const char *a, const char *b); +#ifdef SCI_NAMESPACE +namespace Scintilla { +#endif + // Define another string class. // While it would be 'better' to use std::string, that doubles the executable size. // An SString may contain embedded nul characters. @@ -277,4 +282,8 @@ inline char *StringDup( return SContainer::StringAllocate(s, len); } +#ifdef SCI_NAMESPACE +} +#endif + #endif