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
339950a7
Commit
339950a7
authored
Oct 14, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Don't define _WIN32 for Cygwin builds.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
cbf94a7b
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
10 deletions
+8
-10
configure
configure
+0
-1
configure.ac
configure.ac
+0
-1
corecrt.h
include/msvcrt/corecrt.h
+2
-2
windef.h
include/windef.h
+2
-2
port.h
include/wine/port.h
+1
-1
tools.h
tools/tools.h
+3
-3
No files found.
configure
View file @
339950a7
...
...
@@ -5675,7 +5675,6 @@ case $host in
*
-mingw32
*
|
*
-cygwin
*
)
enable_win16
=
${
enable_win16
:-
no
}
with_mingw
=
${
with_mingw
:-
no
}
CFLAGS
=
"
$CFLAGS
-D_WIN32"
;;
esac
...
...
configure.ac
View file @
339950a7
...
...
@@ -136,7 +136,6 @@ case $host in
*-mingw32*|*-cygwin*)
enable_win16=${enable_win16:-no}
with_mingw=${with_mingw:-no}
CFLAGS="$CFLAGS -D_WIN32"
;;
esac
...
...
include/msvcrt/corecrt.h
View file @
339950a7
...
...
@@ -81,7 +81,7 @@
# else
# define __stdcall __attribute__((ms_abi))
# endif
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(_
WIN32
)
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(_
_MINGW32__) && !defined(__CYGWIN__
)
# define __stdcall __attribute__((pcs("aapcs-vfp")))
# elif defined(__aarch64__) && defined (__GNUC__) && __has_attribute(ms_abi)
# define __stdcall __attribute__((ms_abi))
...
...
@@ -122,7 +122,7 @@
#endif
#ifndef WINAPIV
# if defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(_
WIN32
)
# if defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(_
_MINGW32__) && !defined(__CYGWIN__
)
# define WINAPIV __attribute__((pcs("aapcs")))
# else
# define WINAPIV __cdecl
...
...
include/windef.h
View file @
339950a7
...
...
@@ -72,7 +72,7 @@ extern "C" {
# else
# define __stdcall __attribute__((ms_abi))
# endif
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(_
WIN32
)
# elif defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(_
_MINGW32__) && !defined(__CYGWIN__
)
# define __stdcall __attribute__((pcs("aapcs-vfp")))
# elif defined(__aarch64__) && defined (__GNUC__) && __has_attribute(ms_abi)
# define __stdcall __attribute__((ms_abi))
...
...
@@ -120,7 +120,7 @@ extern "C" {
# endif
#endif
#if defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(_
WIN32
)
#if defined(__arm__) && defined (__GNUC__) && !defined(__SOFTFP__) && !defined(_
_MINGW32__) && !defined(__CYGWIN__
)
# define WINAPIV __attribute__((pcs("aapcs")))
#else
# define WINAPIV __cdecl
...
...
include/wine/port.h
View file @
339950a7
...
...
@@ -43,7 +43,7 @@
* Hard-coded values for the Windows platform
*/
#if
defined(_WIN32) && !defined(__CYGWIN__)
#if
def _WIN32
#include <errno.h>
...
...
tools/tools.h
View file @
339950a7
...
...
@@ -34,7 +34,7 @@
# include <unistd.h>
#endif
#if
defined(_WIN32) && !defined(__CYGWIN__)
#if
def _WIN32
# include <direct.h>
# include <io.h>
# include <process.h>
...
...
@@ -201,7 +201,7 @@ static inline struct strarray strarray_fromstring( const char *str, const char *
static
inline
struct
strarray
strarray_frompath
(
const
char
*
path
)
{
if
(
!
path
)
return
empty_strarray
;
#if
defined(_WIN32) && !defined(__CYGWIN__)
#if
def _WIN32
return
strarray_fromstring
(
path
,
";"
);
#else
return
strarray_fromstring
(
path
,
":"
);
...
...
@@ -253,7 +253,7 @@ static inline void strarray_trace( struct strarray args )
static
inline
int
strarray_spawn
(
struct
strarray
args
)
{
#if
defined(_WIN32) && !defined(__CYGWIN__)
#if
def _WIN32
strarray_add
(
&
args
,
NULL
);
return
_spawnvp
(
_P_WAIT
,
args
.
str
[
0
],
args
.
str
);
#else
...
...
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