aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2019-09-11 14:27:46 +0100
committerMarc Schink <jaylink-dev@marcschink.de>2019-09-28 17:00:59 +0200
commitf73ad5e667ae8b26a52b847c603fdadaabf302a6 (patch)
tree567e44cd804334ba9fcfd0913361ad4267b0a420
parentc2c4bb025f3f02336ea88f57f59e204a1303da9b (diff)
downloadlibjaylink-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.ac3
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.