Commit 802803a0 authored by Alexandre Julliard's avatar Alexandre Julliard

libport: Fix the Cygwin build.

parent 445f1a69
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment