cogl: Add a fallback for when the signbit macro is missing
authorNeil Roberts <neil@linux.intel.com>
Thu, 11 Feb 2010 14:20:48 +0000 (14:20 +0000)
committerNeil Roberts <neil@linux.intel.com>
Thu, 11 Feb 2010 15:59:53 +0000 (15:59 +0000)
commit44818a48273baa7dabfbb9370ac218ae8b0cf38e
tree83b69a5b6f41980bcca0d7189a23d7b727af8fec
parent59463c2213b79a553d3d7999bb56106fb7c5a4ad
cogl: Add a fallback for when the signbit macro is missing

The signbit macro is defined in C99 so it should be available but some
versions of GCC don't appear to define it by default. If it's not
available we can use a hack to test the bit directly.
clutter/cogl/cogl/cogl-sub-texture.c
clutter/cogl/cogl/cogl-texture-2d.c
clutter/cogl/cogl/cogl-util.h