diff options
author | Dave Reisner <dreisner@archlinux.org> | 2012-03-30 23:23:45 -0400 |
---|---|---|
committer | Dave Reisner <dreisner@archlinux.org> | 2012-04-08 22:28:45 -0400 |
commit | 7fcb445f35d70d6dd4fa14e9d7b5de35625b0811 (patch) | |
tree | cf32b8455d7203d96be2dce858aa4e9a598129bf | |
parent | cb5b66367ddf4af05953a9486bddaaf105fb4f38 (diff) |
buildsys: use AC_DEFINE for CYGWIN macro
Instead of directly modifying CFLAGS, use config.h for its intended
purpose.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ac25a9d6..13dddc61 100644 --- a/configure.ac +++ b/configure.ac @@ -280,7 +280,7 @@ case "${host_os}" in ;; cygwin*) host_os_cygwin=yes - CFLAGS="$CFLAGS -DCYGWIN" + AC_DEFINE([CYGWIN], [1], [Define if host OS is cygwin]) ;; darwin*) host_os_darwin=yes |