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
commit313a81f7f8419b3c1ac6ac57ea7719c7b8aa28cf (patch)
tree2ec6649c5e74a1d7127d150f485432def1814a1a /include/Platform.h
parent7b287ecd7f8527bb8f47e08090a0120ff418c730 (diff)
downloadscintilla-mirror-313a81f7f8419b3c1ac6ac57ea7719c7b8aa28cf.tar.gz
The Scintilla namespace is always active for internal symbols and for the lexer
interfaces ILexer4 and IDocument.
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