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
96e32da5
Commit
96e32da5
authored
Sep 23, 2013
by
Huw Davies
Committed by
Alexandre Julliard
Sep 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dbghelp: Add a couple of structures that are missing from the Android ndk.
parent
8e26d7ae
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
72 additions
and
0 deletions
+72
-0
configure
configure
+32
-0
configure.ac
configure.ac
+8
-0
elf_module.c
dlls/dbghelp/elf_module.c
+26
-0
config.h.in
include/config.h.in
+6
-0
No files found.
configure
View file @
96e32da5
...
...
@@ -14220,6 +14220,38 @@ _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 @
96e32da5
...
...
@@ -2203,6 +2203,14 @@ 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 @
96e32da5
...
...
@@ -60,6 +60,32 @@
#define NT_GNU_BUILD_ID 3
#endif
#ifndef HAVE_STRUCT_R_DEBUG
struct
r_debug
{
int
r_version
;
struct
link_map
*
r_map
;
ElfW
(
Addr
)
r_brk
;
enum
{
RT_CONSISTENT
,
RT_ADD
,
RT_DELETE
}
r_state
;
ElfW
(
Addr
)
r_ldbase
;
};
#endif
/* HAVE_STRUCT_R_DEBUG */
#ifndef HAVE_STRUCT_LINK_MAP
struct
link_map
{
ElfW
(
Addr
)
l_addr
;
char
*
l_name
;
ElfW
(
Dyn
)
*
l_ld
;
struct
link_map
*
l_next
,
*
l_prev
;
};
#endif
/* HAVE_STRUCT_LINK_MAP */
WINE_DEFAULT_DEBUG_CHANNEL
(
dbghelp
);
struct
elf_info
...
...
include/config.h.in
View file @
96e32da5
...
...
@@ -825,6 +825,9 @@
/* 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
...
...
@@ -840,6 +843,9 @@
/* 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
...
...
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