summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2013-07-24 17:32:57 +0800
committerRobert Bragg <robert@linux.intel.com>2013-08-19 22:44:45 +0100
commit96de3fbcf5b0512d389741ccac776d6bd83c7e59 (patch)
treea3e6ad29ee15cb5170feb8ff0baf96122054cd7c
parent69247c10f3bdc3ad4da9f9ea876256d3b74a2ae9 (diff)
downloadcogl-96de3fbcf5b0512d389741ccac776d6bd83c7e59.tar.gz
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 <robert@linux.intel.com> (cherry picked from commit ef41aea2796315a47693bf278f08b41ca6703566)
-rw-r--r--cogl/cogl-defines.h.win32.in1
-rw-r--r--cogl/cogl-defines.h.win32_SDL.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/cogl/cogl-defines.h.win32.in b/cogl/cogl-defines.h.win32.in
index da9cc5f9..dd966003 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 dc9ea5d9..ef16d502 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