diff options
author | nyamatongwe <devnull@localhost> | 2010-05-11 22:30:25 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-05-11 22:30:25 +0000 |
commit | fc9242bae1b7ea2e1ac0412c335b27192ba6fcbd (patch) | |
tree | 33477ac279d2bf854da8b3c6e7705a04a53b7262 | |
parent | d7443d3685d1fa9b6953863e76f53c3e4e9191e7 (diff) | |
download | scintilla-mirror-fc9242bae1b7ea2e1ac0412c335b27192ba6fcbd.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) { |