Bug 676150 GDK: Fix build on Windows
authorChun-wei Fan <fanchunwei@src.gnome.org>
Wed, 16 May 2012 09:36:38 +0000 (17:36 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 21 May 2012 15:01:23 +0000 (23:01 +0800)
commitef1860d71d7c00bb521f36e8003866f8e5885742
treea49c9fc5f7049154fae55d87cdeeb8af9274d4f8
parentaeea9ee7785df7c07ef1af4f32f47dcd2e4cb22c
Bug 676150 GDK: Fix build on Windows

-Don't include unistd.h and stdint.h unconditionally as not all Windows
 compilers have them around.
-Only include cogl/cogl-xlib.h when it is really supported by Cogl and GDK.
-sys/ioctl.h is not available on Windows (MinGW/MSVC).
-Correct the call to cogl_renderer_set_winsys_id:
 (backend_cogl->cogl_renderer, COGL_WINSYS_ID_WGL) ->
 (renderer, COGL_WINSYS_ID_WGL)
clutter/gdk/clutter-backend-gdk.c
clutter/gdk/clutter-device-manager-gdk.c