diff options
author | Neil Roberts <neil@linux.intel.com> | 2011-06-13 13:09:47 +0100 |
---|---|---|
committer | Neil Roberts <neil@linux.intel.com> | 2011-06-14 12:14:02 +0100 |
commit | 01e1260aa0a659776961e7ade5eab571374d2a6a (patch) | |
tree | 03d17169512bfb61f044369a6b3b1c98e3c71c18 /configure.ac | |
parent | 5dc42284a5174d6cb451d0f5956801e67da3e627 (diff) | |
download | cogl-01e1260aa0a659776961e7ade5eab571374d2a6a.tar.gz |
configure: Force #undef of 'near' and 'far' on Windows
This adds an extra header that gets included from config.h where we
can add configuration defines. This is used to #undef 'near' and 'far'
when building for Windows so that we don't have to avoid using them as
variable names in the Cogl code.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ad27450b..26f7d414 100644 --- a/configure.ac +++ b/configure.ac @@ -100,6 +100,7 @@ AM_INIT_AUTOMAKE([1.11 foreign -Wno-portability no-define no-dist-gzip dist-bzip2]) AM_SILENT_RULES([yes]) +AH_BOTTOM([#include "config-custom.h"]) dnl ================================================================ dnl Export the API versioning |