Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
802803a0
Commit
802803a0
authored
Dec 16, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libport: Fix the Cygwin build.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=47959
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
445f1a69
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
configure
configure
+1
-1
configure.ac
configure.ac
+1
-1
port.h
include/wine/port.h
+1
-1
spawn.c
libs/port/spawn.c
+1
-1
No files found.
configure
View file @
802803a0
...
...
@@ -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
:
...
...
configure.ac
View file @
802803a0
...
...
@@ -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
...
...
include/wine/port.h
View file @
802803a0
...
...
@@ -47,7 +47,7 @@
* Hard-coded values for the Windows platform
*/
#if
def _WIN32
#if
defined(_WIN32) && !defined(__CYGWIN__)
#include <direct.h>
#include <io.h>
...
...
libs/port/spawn.c
View file @
802803a0
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment