aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/StringCopy.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 /lexlib/StringCopy.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 'lexlib/StringCopy.h')
-rw-r--r--lexlib/StringCopy.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/lexlib/StringCopy.h b/lexlib/StringCopy.h
index 1812b4e35..1c5442e65 100644
--- a/lexlib/StringCopy.h
+++ b/lexlib/StringCopy.h
@@ -9,9 +9,7 @@
#ifndef STRINGCOPY_H
#define STRINGCOPY_H
-#ifdef SCI_NAMESPACE
namespace Scintilla {
-#endif
// Safer version of string copy functions like strcpy, wcsncpy, etc.
// Instantiate over fixed length strings of both char and wchar_t.
@@ -29,8 +27,6 @@ void StringCopy(T (&dest)[count], const T* source) {
#define ELEMENTS(a) (sizeof(a) / sizeof(a[0]))
-#ifdef SCI_NAMESPACE
}
-#endif
#endif