aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/UnicodeFromUTF8.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2017-09-11 09:05:35 +1000
committerNeil <nyamatongwe@gmail.com>2017-09-11 09:05:35 +1000
commitd3c03f65fe25e133b8ef8a5f67b675b434605305 (patch)
tree648194fe02ee266b1e4ee4530a3978037e883bc5 /src/UnicodeFromUTF8.h
parent566b81a2fda39f83e4fbc860388385c2d3087d33 (diff)
downloadscintilla-mirror-d3c03f65fe25e133b8ef8a5f67b675b434605305.tar.gz
Backport: The Scintilla namespace is always active for internal symbols and for the lexer and document interfaces.
Backport of changeset 6388:d62863ae40a3.
Diffstat (limited to 'src/UnicodeFromUTF8.h')
-rw-r--r--src/UnicodeFromUTF8.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/UnicodeFromUTF8.h b/src/UnicodeFromUTF8.h
index ae66cb0a9..17999a786 100644
--- a/src/UnicodeFromUTF8.h
+++ b/src/UnicodeFromUTF8.h
@@ -8,9 +8,7 @@
#ifndef UNICODEFROMUTF8_H
#define UNICODEFROMUTF8_H
-#ifdef SCI_NAMESPACE
namespace Scintilla {
-#endif
inline int UnicodeFromUTF8(const unsigned char *us) {
if (us[0] < 0xC2) {
@@ -25,8 +23,6 @@ inline int UnicodeFromUTF8(const unsigned char *us) {
return us[0];
}
-#ifdef SCI_NAMESPACE
}
-#endif
#endif