Update win32 build defines

This commit is contained in:
Brent Cook 2014-11-19 06:26:38 -06:00 committed by Brent Cook
parent 43e041a533
commit 7f0646f612

View File

@ -30,7 +30,8 @@ case $host_os in
;;
*mingw*)
HOST_OS=win
CFLAGS="$CFLAGS -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE"
CFLAGS="$CFLAGS -D_GNU_SOURCE -D_POSIX -D_POSIX_SOURCE -D_REENTRANT -D_POSIX_THREAD_SAFE_FUNCTIONS -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x0600 -DOPENSSL_NO_SPEED -D__USE_MINGW_ANSI_STDIO"
AC_SUBST([PLATFORM_LDADD], ['-lws2_32'])
;;
*) ;;
esac