Author: manolo
Date: 2010-12-01 07:52:02 -0800 (Wed, 01 Dec 2010)
New Revision: 7931
Log:
Consistent usage of __APPLE_QUARTZ__

Modified:
   branches/branch-1.3/src/Fl_Gl_Window.cxx

Modified: branches/branch-1.3/src/Fl_Gl_Window.cxx
===================================================================
--- branches/branch-1.3/src/Fl_Gl_Window.cxx    2010-12-01 12:56:42 UTC (rev 
7930)
+++ branches/branch-1.3/src/Fl_Gl_Window.cxx    2010-12-01 15:52:02 UTC (rev 
7931)
@@ -324,7 +324,7 @@
     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 @@
  */
 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())

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to