Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2afb4fd0
Commit
2afb4fd0
authored
Oct 11, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Assume that dlfcn.h is available on Unix.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ea2c7436
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
21 deletions
+5
-21
configure
configure
+0
-1
configure.ac
configure.ac
+0
-1
config.h.in
include/config.h.in
+0
-3
port.h
include/wine/port.h
+5
-16
No files found.
configure
View file @
2afb4fd0
...
...
@@ -7476,7 +7476,6 @@ for ac_header in \
asm/types.h
\
asm/user.h
\
dirent.h
\
dlfcn.h
\
elf.h
\
float.h
\
gettext-po.h
\
...
...
configure.ac
View file @
2afb4fd0
...
...
@@ -447,7 +447,6 @@ AC_CHECK_HEADERS(\
asm/types.h \
asm/user.h \
dirent.h \
dlfcn.h \
elf.h \
float.h \
gettext-po.h \
...
...
include/config.h.in
View file @
2afb4fd0
...
...
@@ -59,9 +59,6 @@
file. */
#undef HAVE_DISKARBITRATION_DISKARBITRATION_H
/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H
/* Define to 1 if you have the `dlinfo' function. */
#undef HAVE_DLINFO
...
...
include/wine/port.h
View file @
2afb4fd0
...
...
@@ -46,13 +46,10 @@
#if defined(_WIN32) && !defined(__CYGWIN__)
#include <direct.h>
#include <errno.h>
#include <io.h>
#include <process.h>
static
inline
void
*
dlopen
(
const
char
*
name
,
int
flags
)
{
return
NULL
;
}
static
inline
void
*
dlsym
(
void
*
handle
,
const
char
*
name
)
{
return
NULL
;
}
#define dlopen(name,flags) NULL
#define dlsym(handle,name) NULL
static
inline
int
dlclose
(
void
*
handle
)
{
return
0
;
}
static
inline
const
char
*
dlerror
(
void
)
{
return
"No dlopen support on Windows"
;
}
static
inline
int
symlink
(
const
char
*
from
,
const
char
*
to
)
{
errno
=
ENOSYS
;
return
-
1
;
}
...
...
@@ -67,19 +64,11 @@ static inline int symlink(const char *from, const char *to) { errno = ENOSYS; re
#endif
#endif
#endif
/* _WIN32 */
/****************************************************************
* Macro definitions
*/
#else
#ifdef HAVE_DLFCN_H
#include <dlfcn.h>
#else
#define RTLD_LAZY 0x001
#define RTLD_NOW 0x002
#define RTLD_GLOBAL 0x100
#endif
#endif
/* _WIN32 */
/****************************************************************
* Constants
...
...
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