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
9815806f
Commit
9815806f
authored
Aug 11, 2016
by
Sebastian Lackner
Committed by
Alexandre Julliard
Aug 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Explicitly check for sysinfo function.
Signed-off-by:
Sebastian Lackner
<
sebastian@fds-team.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
beb94094
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
+7
-2
configure
configure
+1
-0
configure.ac
configure.ac
+1
-0
virtual.c
dlls/ntdll/virtual.c
+2
-2
config.h.in
include/config.h.in
+3
-0
No files found.
configure
View file @
9815806f
...
@@ -15133,6 +15133,7 @@ for ac_func in \
...
@@ -15133,6 +15133,7 @@ for ac_func in \
strtoll
\
strtoll
\
strtoull
\
strtoull
\
symlink
\
symlink
\
sysinfo
\
tcdrain
\
tcdrain
\
thr_kill2
\
thr_kill2
\
timegm
\
timegm
\
...
...
configure.ac
View file @
9815806f
...
@@ -2039,6 +2039,7 @@ AC_CHECK_FUNCS(\
...
@@ -2039,6 +2039,7 @@ AC_CHECK_FUNCS(\
strtoll \
strtoll \
strtoull \
strtoull \
symlink \
symlink \
sysinfo \
tcdrain \
tcdrain \
thr_kill2 \
thr_kill2 \
timegm \
timegm \
...
...
dlls/ntdll/virtual.c
View file @
9815806f
...
@@ -1359,7 +1359,7 @@ void virtual_init_threading(void)
...
@@ -1359,7 +1359,7 @@ void virtual_init_threading(void)
*/
*/
void
virtual_get_system_info
(
SYSTEM_BASIC_INFORMATION
*
info
)
void
virtual_get_system_info
(
SYSTEM_BASIC_INFORMATION
*
info
)
{
{
#ifdef HAVE_SYS
_SYSINFO_H
#ifdef HAVE_SYS
INFO
struct
sysinfo
sinfo
;
struct
sysinfo
sinfo
;
#endif
#endif
...
@@ -1368,7 +1368,7 @@ void virtual_get_system_info( SYSTEM_BASIC_INFORMATION *info )
...
@@ -1368,7 +1368,7 @@ void virtual_get_system_info( SYSTEM_BASIC_INFORMATION *info )
info
->
PageSize
=
page_size
;
info
->
PageSize
=
page_size
;
info
->
MmLowestPhysicalPage
=
1
;
info
->
MmLowestPhysicalPage
=
1
;
info
->
MmHighestPhysicalPage
=
0x7fffffff
/
page_size
;
info
->
MmHighestPhysicalPage
=
0x7fffffff
/
page_size
;
#ifdef HAVE_SYS
_SYSINFO_H
#ifdef HAVE_SYS
INFO
if
(
!
sysinfo
(
&
sinfo
))
if
(
!
sysinfo
(
&
sinfo
))
{
{
ULONG64
total
=
(
ULONG64
)
sinfo
.
totalram
*
sinfo
.
mem_unit
;
ULONG64
total
=
(
ULONG64
)
sinfo
.
totalram
*
sinfo
.
mem_unit
;
...
...
include/config.h.in
View file @
9815806f
...
@@ -1008,6 +1008,9 @@
...
@@ -1008,6 +1008,9 @@
/* Define to 1 if you have the <syscall.h> header file. */
/* Define to 1 if you have the <syscall.h> header file. */
#undef HAVE_SYSCALL_H
#undef HAVE_SYSCALL_H
/* Define to 1 if you have the `sysinfo' function. */
#undef HAVE_SYSINFO
/* Define to 1 if you have the <sys/asoundlib.h> header file. */
/* Define to 1 if you have the <sys/asoundlib.h> header file. */
#undef HAVE_SYS_ASOUNDLIB_H
#undef HAVE_SYS_ASOUNDLIB_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