diff options
author | Spencer Oliver <spen@spen-soft.co.uk> | 2019-09-11 14:27:46 +0100 |
---|---|---|
committer | Marc Schink <jaylink-dev@marcschink.de> | 2019-09-28 17:00:59 +0200 |
commit | f73ad5e667ae8b26a52b847c603fdadaabf302a6 (patch) | |
tree | 567e44cd804334ba9fcfd0913361ad4267b0a420 | |
parent | c2c4bb025f3f02336ea88f57f59e204a1303da9b (diff) | |
download | libjaylink-f73ad5e667ae8b26a52b847c603fdadaabf302a6.zip libjaylink-f73ad5e667ae8b26a52b847c603fdadaabf302a6.tar.gz libjaylink-f73ad5e667ae8b26a52b847c603fdadaabf302a6.tar.bz2 |
configure: fix build issue when building under MSYS2
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
-rw-r--r-- | configure.ac | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7fc2a1f..735483c 100644 --- a/configure.ac +++ b/configure.ac @@ -105,8 +105,7 @@ AS_IF([test "x$enable_subproject_build" != "xyes"], # Use C99 compatible stdio functions on MinGW instead of the incompatible # functions provided by Microsoft. AS_CASE([$host_os], [mingw*], - [AC_DEFINE([__USE_MINGW_ANSI_STDIO], [1], - [Define to 1 to use C99 compatible stdio functions on MinGW.])]) + [JAYLINK_CFLAGS="$JAYLINK_CFLAGS -D__USE_MINGW_ANSI_STDIO"]) # Add the Winsock2 library on MinGW for socket and other network-related # functions. |