From 96de3fbcf5b0512d389741ccac776d6bd83c7e59 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 24 Jul 2013 17:32:57 +0800 Subject: [PATCH] MSVC builds: Update pre-defined cogl-define.h ...For both the regular WGL winsys and SDL winsys builds, that COGL_HAS_GTYPE_SUPPORT is defined, so that the builds won't break as Visual Studio builds do assume an existing installation of GLib. Reviewed-by: Robert Bragg (cherry picked from commit ef41aea2796315a47693bf278f08b41ca6703566) --- cogl/cogl-defines.h.win32.in | 1 + cogl/cogl-defines.h.win32_SDL.in | 1 + 2 files changed, 2 insertions(+) diff --git a/cogl/cogl-defines.h.win32.in b/cogl/cogl-defines.h.win32.in index da9cc5f95..dd966003d 100644 --- a/cogl/cogl-defines.h.win32.in +++ b/cogl/cogl-defines.h.win32.in @@ -33,6 +33,7 @@ G_BEGIN_DECLS #define COGL_HAS_GLIB_SUPPORT 1 +#define COGL_HAS_GTYPE_SUPPORT 1 #define COGL_HAS_WGL_SUPPORT 1 #define COGL_HAS_WIN32_SUPPORT 1 #define COGL_HAS_GL 1 diff --git a/cogl/cogl-defines.h.win32_SDL.in b/cogl/cogl-defines.h.win32_SDL.in index dc9ea5d93..ef16d502b 100644 --- a/cogl/cogl-defines.h.win32_SDL.in +++ b/cogl/cogl-defines.h.win32_SDL.in @@ -33,6 +33,7 @@ G_BEGIN_DECLS #define COGL_HAS_GLIB_SUPPORT 1 +#define COGL_HAS_GTYPE_SUPPORT 1 #define COGL_HAS_WGL_SUPPORT 1 #define COGL_HAS_WIN32_SUPPORT 1 #define COGL_HAS_SDL_SUPPORT 1