Public headers should not have #ifdefs relying on private defines
authorDamien Lespiau <damien.lespiau@intel.com>
Mon, 15 Jun 2009 13:15:27 +0000 (14:15 +0100)
committerDamien Lespiau <damien.lespiau@intel.com>
Fri, 19 Jun 2009 05:43:34 +0000 (06:43 +0100)
commit3653a9a64d1666f05a256d96ef5741144459b686
tree207149b80974ba7dd8db773e101774d7173d619d
parentc6fba47a5229b7d52f2ff7e78c6cff52ce2069c2
Public headers should not have #ifdefs relying on private defines

HAVE_COGL_GLES2 is defined in config.h through the configure script and
should not be used in public headers.

The patch makes configure generate the right define that can be used
later in the header.
clutter/cogl/gles/cogl-defines.h.in
configure.ac