diff options
author | nyamatongwe <unknown> | 2010-05-11 22:30:25 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-05-11 22:30:25 +0000 |
commit | 5b6d0bca53858fdef7ceee5b844c726436a0c2c9 (patch) | |
tree | 33477ac279d2bf854da8b3c6e7705a04a53b7262 | |
parent | cbb322ab4639975a0326c455da89e73f0bbb0785 (diff) | |
download | scintilla-mirror-5b6d0bca53858fdef7ceee5b844c726436a0c2c9.tar.gz |
Fix compilation on OS X.
-rw-r--r-- | gtk/PlatGTK.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index b90b8c46e..9e84815e2 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -667,11 +667,9 @@ void Font::Release() { // Required on OS X #ifdef SCI_NAMESPACE -class Scintilla::SurfaceImpl : public Surface -#else -class SurfaceImpl : public Surface +namespace Scintilla { #endif -{ +class SurfaceImpl : public Surface { encodingType et; GdkDrawable *drawable; GdkGC *gc; @@ -731,6 +729,9 @@ public: void SetUnicodeMode(bool unicodeMode_); void SetDBCSMode(int codePage); }; +#ifdef SCI_NAMESPACE +} +#endif const char *CharacterSetID(int characterSet) { switch (characterSet) { |