aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/Platform.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 /include/Platform.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 'include/Platform.h')
-rw-r--r--include/Platform.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/Platform.h b/include/Platform.h
index a18ef2255..e1c8a4c76 100644
--- a/include/Platform.h
+++ b/include/Platform.h
@@ -71,9 +71,7 @@
#endif
-#ifdef SCI_NAMESPACE
namespace Scintilla {
-#endif
typedef float XYPOSITION;
typedef double XYACCUMULATOR;
@@ -511,15 +509,9 @@ public:
#ifdef NDEBUG
#define PLATFORM_ASSERT(c) ((void)0)
#else
-#ifdef SCI_NAMESPACE
#define PLATFORM_ASSERT(c) ((c) ? (void)(0) : Scintilla::Platform::Assert(#c, __FILE__, __LINE__))
-#else
-#define PLATFORM_ASSERT(c) ((c) ? (void)(0) : Platform::Assert(#c, __FILE__, __LINE__))
-#endif
#endif
-#ifdef SCI_NAMESPACE
}
-#endif
#endif