Win32: Update predefined cogl-defines.h's

-Add a define for COGL_HAS_GLIB_SUPPORT, the Visual C++ projects will build
 GLib support for COGL for all builds at this time, unless there is a
 significant call for the need of a COGL Visual C++ build with no
 dependency on GLib
-Pre-define COGL_SYSDEF_POLL* as listed in the default values in commit
 74974752 since Windows does not have poll.h and thus does not have special
 values for these.

https://bugzilla.gnome.org/show_bug.cgi?id=669785

Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
Chun-wei Fan 2012-02-10 11:05:23 +08:00 committed by Neil Roberts
parent e654e3f699
commit 356e134ffb
2 changed files with 16 additions and 0 deletions

View File

@ -35,6 +35,7 @@
G_BEGIN_DECLS
#define COGL_HAS_GLIB_SUPPORT 1
#define COGL_HAS_WGL_SUPPORT 1
#define COGL_HAS_WIN32_SUPPORT 1
#define COGL_HAS_GL 1
@ -55,6 +56,13 @@ G_BEGIN_DECLS
#define GLeglImageOES void *
#endif
#define COGL_SYSDEF_POLLIN 1
#define COGL_SYSDEF_POLLPRI 2
#define COGL_SYSDEF_POLLOUT 4
#define COGL_SYSDEF_POLLERR 8
#define COGL_SYSDEF_POLLHUP 16
#define COGL_SYSDEF_POLLNVAL 32
G_END_DECLS
#endif

View File

@ -35,6 +35,7 @@
G_BEGIN_DECLS
#define COGL_HAS_GLIB_SUPPORT 1
#define COGL_HAS_WGL_SUPPORT 1
#define COGL_HAS_WIN32_SUPPORT 1
#define COGL_HAS_SDL_SUPPORT 1
@ -56,6 +57,13 @@ G_BEGIN_DECLS
#define GLeglImageOES void *
#endif
#define COGL_SYSDEF_POLLIN 1
#define COGL_SYSDEF_POLLPRI 2
#define COGL_SYSDEF_POLLOUT 4
#define COGL_SYSDEF_POLLERR 8
#define COGL_SYSDEF_POLLHUP 16
#define COGL_SYSDEF_POLLNVAL 32
G_END_DECLS
#endif