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
b664ae8e
Commit
b664ae8e
authored
Mar 31, 2020
by
Jacek Caban
Committed by
Alexandre Julliard
Mar 31, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Don't use system headers for ELF declarations.
Signed-off-by:
Jacek Caban
<
jacek@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
56f2b950
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
78 deletions
+1
-78
configure
configure
+0
-34
configure.ac
configure.ac
+0
-10
elf_module.c
dlls/dbghelp/elf_module.c
+1
-5
image_private.h
dlls/dbghelp/image_private.h
+0
-17
config.h.in
include/config.h.in
+0
-12
No files found.
configure
View file @
b664ae8e
...
...
@@ -7438,10 +7438,8 @@ for ac_header in \
sys/attr.h
\
sys/auxv.h
\
sys/cdio.h
\
sys/elf32.h
\
sys/epoll.h
\
sys/event.h
\
sys/exec_elf.h
\
sys/filio.h
\
sys/ioctl.h
\
sys/ipc.h
\
...
...
@@ -18571,38 +18569,6 @@ _ACEOF
fi
ac_fn_c_check_type
"
$LINENO
"
"struct r_debug"
"ac_cv_type_struct_r_debug"
"#ifdef HAVE_LINK_H
#include <link.h>
#endif
#ifdef HAVE_SYS_LINK_H
#include <sys/link.h>
#endif
"
if
test
"x
$ac_cv_type_struct_r_debug
"
=
xyes
;
then
:
cat
>>
confdefs.h
<<
_ACEOF
#define HAVE_STRUCT_R_DEBUG 1
_ACEOF
fi
ac_fn_c_check_type
"
$LINENO
"
"struct link_map"
"ac_cv_type_struct_link_map"
"#ifdef HAVE_LINK_H
#include <link.h>
#endif
#ifdef HAVE_SYS_LINK_H
#include <sys/link.h>
#endif
"
if
test
"x
$ac_cv_type_struct_link_map
"
=
xyes
;
then
:
cat
>>
confdefs.h
<<
_ACEOF
#define HAVE_STRUCT_LINK_MAP 1
_ACEOF
fi
ac_fn_c_check_member
"
$LINENO
"
"struct ff_effect"
"direction"
"ac_cv_member_struct_ff_effect_direction"
"#ifdef HAVE_LINUX_INPUT_H
#include <linux/input.h>
#endif
...
...
configure.ac
View file @
b664ae8e
...
...
@@ -498,10 +498,8 @@ AC_CHECK_HEADERS(\
sys/attr.h \
sys/auxv.h \
sys/cdio.h \
sys/elf32.h \
sys/epoll.h \
sys/event.h \
sys/exec_elf.h \
sys/filio.h \
sys/ioctl.h \
sys/ipc.h \
...
...
@@ -2313,14 +2311,6 @@ AC_CHECK_TYPES([struct xinpgen],,,
#include <netinet/in_pcb.h>
#endif])
AC_CHECK_TYPES([struct r_debug, struct link_map],,,
[#ifdef HAVE_LINK_H
#include <link.h>
#endif
#ifdef HAVE_SYS_LINK_H
#include <sys/link.h>
#endif])
AC_CHECK_MEMBERS([struct ff_effect.direction],,,
[#ifdef HAVE_LINUX_INPUT_H
#include <linux/input.h>
...
...
dlls/dbghelp/elf_module.c
View file @
b664ae8e
...
...
@@ -24,9 +24,6 @@
#if defined(__svr4__) || defined(__sun)
#define __ELF__ 1
/* large files are not supported by libelf */
#undef _FILE_OFFSET_BITS
#define _FILE_OFFSET_BITS 32
#endif
#include <assert.h>
...
...
@@ -34,9 +31,8 @@
#include <stdlib.h>
#include "dbghelp_private.h"
#include "winternl.h"
#include "image_private.h"
#include "winternl.h"
#include "wine/debug.h"
#include "wine/heap.h"
...
...
dlls/dbghelp/image_private.h
View file @
b664ae8e
...
...
@@ -19,23 +19,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifdef HAVE_ELF_H
# include <elf.h>
#endif
#ifdef HAVE_SYS_ELF32_H
# include <sys/elf32.h>
#endif
#ifdef HAVE_SYS_EXEC_ELF_H
# include <sys/exec_elf.h>
#endif
#if !defined(DT_NUM)
# if defined(DT_COUNT)
# define DT_NUM DT_COUNT
# else
/* this seems to be a satisfactory value on Solaris, which doesn't support this AFAICT */
# define DT_NUM 24
# endif
#endif
#ifdef HAVE_LINK_H
# include <link.h>
#endif
...
...
include/config.h.in
View file @
b664ae8e
...
...
@@ -887,9 +887,6 @@
/* Define to 1 if `ips_total' is a member of `struct ip_stats'. */
#undef HAVE_STRUCT_IP_STATS_IPS_TOTAL
/* Define to 1 if the system has the type `struct link_map'. */
#undef HAVE_STRUCT_LINK_MAP
/* Define to 1 if `msg_accrights' is a member of `struct msghdr'. */
#undef HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS
...
...
@@ -905,9 +902,6 @@
/* Define to 1 if `name' is a member of `struct option'. */
#undef HAVE_STRUCT_OPTION_NAME
/* Define to 1 if the system has the type `struct r_debug'. */
#undef HAVE_STRUCT_R_DEBUG
/* Define to 1 if `sin6_scope_id' is a member of `struct sockaddr_in6'. */
#undef HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID
...
...
@@ -1018,18 +1012,12 @@
/* Define to 1 if you have the <sys/cdio.h> header file. */
#undef HAVE_SYS_CDIO_H
/* Define to 1 if you have the <sys/elf32.h> header file. */
#undef HAVE_SYS_ELF32_H
/* Define to 1 if you have the <sys/epoll.h> header file. */
#undef HAVE_SYS_EPOLL_H
/* Define to 1 if you have the <sys/event.h> header file. */
#undef HAVE_SYS_EVENT_H
/* Define to 1 if you have the <sys/exec_elf.h> header file. */
#undef HAVE_SYS_EXEC_ELF_H
/* Define to 1 if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_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