Skip to content

Commit

Permalink
BUILD: Fix boost detection on MinGW
Browse files Browse the repository at this point in the history
  • Loading branch information
clone2727 committed Jan 20, 2013
1 parent de7bf92 commit 09b61ad
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion m4/boost.m4
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,10 @@ AC_LANG_POP([C++])dnl
# -----------------------------
# Internal helper for _BOOST_FIND_COMPILER_TAG.
m4_define([_BOOST_gcc_test],
["defined __GNUC__ && __GNUC__ == $1 && __GNUC_MINOR__ == $2 && !defined __ICC @ gcc$1$2"])dnl
["defined __GNUC__ && __GNUC__ == $1 && __GNUC_MINOR__ == $2 && !defined __ICC \
&& (defined WIN32 || defined WINNT || defined _WIN32 || defined __WIN32 \
|| defined __WIN32__ || defined __WINNT || defined __WINNT__) @ mgw$1$2" \
"defined __GNUC__ && __GNUC__ == $1 && __GNUC_MINOR__ == $2 && !defined __ICC @ gcc$1$2"])dnl


# _BOOST_FIND_COMPILER_TAG()
Expand Down

0 comments on commit 09b61ad

Please sign in to comment.