summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2010-12-01 15:52:02 +0000
committerManolo Gouy <Manolo>2010-12-01 15:52:02 +0000
commit04ca835e3aa366d218fe5ffc0cd2da78c0b614f0 (patch)
tree80812258902fed6e96fd4ad00b5bcc8a0c5ca007
parent5f3988e9341891e93bfd83b675f54d087208eaf2 (diff)
Consistent usage of __APPLE_QUARTZ__
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7931 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Gl_Window.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx
index 8eefb6742..17cd1d3ea 100644
--- a/src/Fl_Gl_Window.cxx
+++ b/src/Fl_Gl_Window.cxx
@@ -324,7 +324,7 @@ void Fl_Gl_Window::flush() {
glDrawBuffer(GL_BACK);
if (!SWAP_TYPE) {
-#if defined __APPLE_QUARTZ__
+#if defined (__APPLE_QUARTZ__)
SWAP_TYPE = COPY;
#else
SWAP_TYPE = UNDEFINED;
@@ -529,7 +529,7 @@ void Fl_Gl_Window::draw() {
*/
int Fl_Gl_Window::handle(int event)
{
-#if (__APPLE_QUARTZ__)
+#ifdef __APPLE_QUARTZ__
if (event==FL_HIDE) {
// if we are not hidden, just the parent was hidden, so we must throw away the context
if (!visible_r())