libport: Fix the Cygwin build.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47959 Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
445f1a6929
commit
802803a028
|
@ -17442,7 +17442,7 @@ fi ;;
|
|||
MSVCRTFLAGS=""
|
||||
|
||||
case $host_os in
|
||||
cygwin*|mingw32*) ;;
|
||||
mingw32*) ;;
|
||||
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
|
||||
$as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
|
||||
if ${ac_cv_cflags__fno_builtin+:} false; then :
|
||||
|
|
|
@ -2054,7 +2054,7 @@ char*f(const char *h,char n) {return strchr(h,n);}]])],[ac_cv_c_logicalop_noisy=
|
|||
dnl Disable gcc builtins except for Mingw
|
||||
AC_SUBST(MSVCRTFLAGS,"")
|
||||
case $host_os in
|
||||
cygwin*|mingw32*) ;;
|
||||
mingw32*) ;;
|
||||
*) WINE_TRY_CFLAGS([-fno-builtin],[MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"])
|
||||
WINE_TRY_CFLAGS([-fshort-wchar],[MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"]) ;;
|
||||
esac
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
* Hard-coded values for the Windows platform
|
||||
*/
|
||||
|
||||
#ifdef _WIN32
|
||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||
|
||||
#include <direct.h>
|
||||
#include <io.h>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
#include "config.h"
|
||||
#include "wine/port.h"
|
||||
|
||||
#if !defined(HAVE__SPAWNVP) && !defined(_WIN32)
|
||||
#if !defined(HAVE__SPAWNVP) && (!defined(_WIN32) || defined(__CYGWIN__))
|
||||
|
||||
#include <errno.h>
|
||||
#include <signal.h>
|
||||
|
|
Loading…
Reference in New Issue