1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-03-01 09:51:50 -05:00

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>
This commit is contained in:
Dave Reisner 2012-03-30 23:23:45 -04:00
parent cb5b66367d
commit 7fcb445f35

View File

@ -280,7 +280,7 @@ case "${host_os}" in
;; ;;
cygwin*) cygwin*)
host_os_cygwin=yes host_os_cygwin=yes
CFLAGS="$CFLAGS -DCYGWIN" AC_DEFINE([CYGWIN], [1], [Define if host OS is cygwin])
;; ;;
darwin*) darwin*)
host_os_darwin=yes host_os_darwin=yes