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:
parent
cb5b66367d
commit
7fcb445f35
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user