From cc33dd28f9931d01ff378e428eb5f38d25541a06 Mon Sep 17 00:00:00 2001 From: simonmar Date: Tue, 10 Aug 2004 13:51:25 +0000 Subject: [PATCH] [project @ 2004-08-10 13:51:25 by simonmar] Add $(Windows), which is "YES" if the host platform is a Windows platform (mingw32 or cygwin32), and "NO" otherwise. --- mk/config.mk.in | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mk/config.mk.in b/mk/config.mk.in index 71aa514..ff0c349 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -124,6 +124,13 @@ LeadingUnderscore=@LeadingUnderscore@ # Pin a suffix on executables? If so, what (Windows only). exeext=@exeext@ +# Windows=YES if on a Windows platform +ifneq "$(findstring $(HostOS_CPP), mingw32 cygwin32)" "" +Windows=YES +else +Windows=NO +endif + ################################################################################ # # project-wide flags -- 1.7.10.4