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
fb4c1277
Commit
fb4c1277
authored
Mar 14, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libport: Don't build some functions that aren't needed on Windows.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ea7b8ad9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
28 deletions
+28
-28
port.h
include/wine/port.h
+24
-24
isfinite.c
libs/port/isfinite.c
+1
-1
isinf.c
libs/port/isinf.c
+1
-1
isnan.c
libs/port/isnan.c
+1
-1
spawn.c
libs/port/spawn.c
+1
-1
No files found.
include/wine/port.h
View file @
fb4c1277
...
...
@@ -86,6 +86,30 @@ typedef int ssize_t;
# endif
#endif
#ifndef HAVE_ISFINITE
int
isfinite
(
double
x
);
#endif
#ifndef HAVE_ISINF
int
isinf
(
double
x
);
#endif
#ifndef HAVE_ISNAN
int
isnan
(
double
x
);
#endif
/* Process creation flags */
#ifndef _P_WAIT
# define _P_WAIT 0
# define _P_NOWAIT 1
# define _P_OVERLAY 2
# define _P_NOWAITO 3
# define _P_DETACH 4
#endif
#ifndef HAVE__SPAWNVP
extern
int
_spawnvp
(
int
mode
,
const
char
*
cmdname
,
const
char
*
const
argv
[]);
#endif
#endif
/* _WIN32 */
/****************************************************************
...
...
@@ -237,18 +261,6 @@ extern int getopt_long_only (int ___argc, char *const *___argv,
int
ffs
(
int
x
);
#endif
#ifndef HAVE_ISFINITE
int
isfinite
(
double
x
);
#endif
#ifndef HAVE_ISINF
int
isinf
(
double
x
);
#endif
#ifndef HAVE_ISNAN
int
isnan
(
double
x
);
#endif
#ifndef HAVE_LLRINT
__int64
llrint
(
double
x
);
#endif
...
...
@@ -323,18 +335,6 @@ int usleep (unsigned int useconds);
extern
int
mkstemps
(
char
*
template
,
int
suffix_len
);
/* Process creation flags */
#ifndef _P_WAIT
# define _P_WAIT 0
# define _P_NOWAIT 1
# define _P_OVERLAY 2
# define _P_NOWAITO 3
# define _P_DETACH 4
#endif
#ifndef HAVE__SPAWNVP
extern
int
_spawnvp
(
int
mode
,
const
char
*
cmdname
,
const
char
*
const
argv
[]);
#endif
/* Interlocked functions */
#if defined(__GNUC__) && (defined(__i386__) || defined(__x86_64__))
...
...
libs/port/isfinite.c
View file @
fb4c1277
...
...
@@ -21,7 +21,7 @@
#include "config.h"
#include "wine/port.h"
#if
ndef HAVE_ISFINITE
#if
!defined(HAVE_ISFINITE) && !defined(isfinite)
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
...
...
libs/port/isinf.c
View file @
fb4c1277
...
...
@@ -21,7 +21,7 @@
#include "config.h"
#include "wine/port.h"
#if
ndef HAVE_ISINF
#if
!defined(HAVE_ISINF) && !defined(isinf)
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
...
...
libs/port/isnan.c
View file @
fb4c1277
...
...
@@ -21,7 +21,7 @@
#include "config.h"
#include "wine/port.h"
#if
ndef HAVE_ISNAN
#if
!defined(HAVE_ISNAN) && !defined(isnan)
#ifdef HAVE_IEEEFP_H
#include <ieeefp.h>
...
...
libs/port/spawn.c
View file @
fb4c1277
...
...
@@ -21,7 +21,7 @@
#include "config.h"
#include "wine/port.h"
#if
ndef HAVE__SPAWNVP
#if
!defined(HAVE__SPAWNVP) && !defined(_WIN32)
#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