From 99eb09be54a94851377a8b086543da8d1730fb1b Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Tue, 16 Dec 2008 11:11:29 +0000 Subject: Namespace work for OS X / XCode compatibility. --- gtk/PlatGTK.cxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gtk') diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 486ce896c..03bb57d26 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -677,7 +677,13 @@ void Font::Release() { id = 0; } -class SurfaceImpl : public Surface { +// Required on OS X +#ifdef SCI_NAMESPACE +class Scintilla::SurfaceImpl : public Surface +#else +class SurfaceImpl : public Surface +#endif +{ encodingType et; GdkDrawable *drawable; GdkGC *gc; -- cgit v1.2.3