Fixes build with GLX on Mac OS X.
authorNate Stedman <natesm@gmail.com>
Wed, 14 Jul 2010 18:46:23 +0000 (14:46 -0400)
committerEmmanuele Bassi <ebassi@linux.intel.com>
Wed, 14 Jul 2010 23:31:23 +0000 (00:31 +0100)
Moves preprocessor #ifdef __linux_ above else statement, avoiding the
lack of an else block if __linux__ is not defined.

http://bugzilla.clutter-project.org/show_bug.cgi?id=2212

Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
clutter/glx/clutter-stage-glx.c

index 4103bba..6426420 100644 (file)
@@ -476,8 +476,8 @@ wait_for_vblank (ClutterBackendGLX *backend_glx)
                                     (retraceCount + 1) % 2,
                                     &retraceCount);
     }
-  else
 #ifdef __linux__
+  else
     {
       drm_wait_vblank_t blank;