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
96336324
Commit
96336324
authored
Oct 24, 1999
by
Patrik Stridvall
Committed by
Alexandre Julliard
Oct 24, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
parent
31b9dab1
Show whitespace changes
Inline
Side-by-side
Showing
35 changed files
with
252 additions
and
88 deletions
+252
-88
configure
configure
+64
-50
configure.in
configure.in
+15
-1
stabs.c
debugger/stabs.c
+10
-4
crtdll_main.c
dlls/crtdll/crtdll_main.c
+2
-0
compobj.c
dlls/ole32/compobj.c
+5
-4
variant.c
dlls/oleaut32/variant.c
+2
-0
winaspi16.c
dlls/winaspi/winaspi16.c
+2
-0
winaspi32.c
dlls/wnaspi32/winaspi32.c
+2
-0
directory.c
files/directory.c
+2
-0
dos_fs.c
files/dos_fs.c
+1
-1
ddraw.c
graphics/ddraw.c
+11
-5
dib.c
graphics/x11drv/dib.c
+10
-4
config.h.in
include/config.h.in
+45
-3
dosmod.c
loader/dos/dosmod.c
+11
-3
dosvm.c
loader/dos/dosvm.c
+8
-2
module.c
loader/dos/module.c
+5
-1
pe_image.c
loader/pe_image.c
+2
-0
ldt.c
memory/ldt.c
+6
-1
int21.c
msdos/int21.c
+2
-0
gdiobj.c
objects/gdiobj.c
+1
-1
snoop.c
relay32/snoop.c
+1
-0
client.c
scheduler/client.c
+3
-1
thread.c
scheduler/thread.c
+3
-1
console.c
server/console.c
+2
-0
file.c
server/file.c
+2
-0
pipe.c
server/pipe.c
+2
-0
sock.c
server/sock.c
+11
-2
socket.c
server/socket.c
+5
-1
build.c
tools/build.c
+2
-0
fnt2bdf.c
tools/fnt2bdf.c
+5
-1
console.c
win32/console.c
+2
-0
device.c
win32/device.c
+2
-0
file.c
win32/file.c
+2
-0
process.c
win32/process.c
+1
-1
dinput.c
windows/dinput.c
+3
-1
No files found.
configure
View file @
96336324
...
...
@@ -4627,53 +4627,67 @@ done
for
ac_hdr
in
\
a.out.h
\
a_out.h
\
arpa/inet.h
\
arpa/nameser.h
\
curses.h
\
elf.h
\
float.h
\
libio.h
\
link.h
\
linux/cdrom.h
\
linux/joystick.h
\
linux/ucdrom.h
\
ncurses.h
\
net/if.h
\
netinet/in.h
\
netinet/tcp.h
\
resolv.h
\
sched.h
\
socket.h
\
strings.h
\
sys/cdio.h
\
sys/errno.h
\
sys/file.h
\
sys/filio.h
\
sys/ipc.h
\
sys/lwp.h
\
sys/mman.h
\
sys/modem.h
\
sys/mount.h
\
sys/msg.h
\
sys/param.h
\
sys/signal.h
\
sys/shm.h
\
sys/socket.h
\
sys/sockio.h
\
sys/statfs.h
\
sys/strtio.h
\
sys/syscall.h
\
sys/wait.h
\
sys/v86.h
\
sys/v86intr.h
\
sys/vfs.h
\
sys/vm86.h
\
syscall.h
\
ucontext.h
\
unistd.h
\
wctype.h
\
do
ac_safe
=
`
echo
"
$ac_hdr
"
|
sed
'y%./+-%__p_%'
`
echo
$ac_n
"checking for
$ac_hdr
""...
$ac_c
"
1>&6
echo
"configure:46
67
: checking for
$ac_hdr
"
>
&5
echo
"configure:46
81
: checking for
$ac_hdr
"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_
$ac_safe
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 46
72
"configure"
#line 46
86
"configure"
#include "confdefs.h"
#include <
$ac_hdr
>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:46
77
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:46
91
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4700,12 +4714,12 @@ fi
done
echo
$ac_n
"checking whether stat file-mode macros are broken""...
$ac_c
"
1>&6
echo
"configure:47
04
: checking whether stat file-mode macros are broken"
>
&5
echo
"configure:47
18
: checking whether stat file-mode macros are broken"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stat_broken
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
09
"configure"
#line 47
23
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/stat.h>
...
...
@@ -4758,12 +4772,12 @@ fi
echo
$ac_n
"checking for working const""...
$ac_c
"
1>&6
echo
"configure:47
62
: checking for working const"
>
&5
echo
"configure:47
76
: checking for working const"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_const
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 47
67
"configure"
#line 47
81
"configure"
#include "confdefs.h"
int main() {
...
...
@@ -4812,7 +4826,7 @@ ccp = (char const *const *) p;
; return 0; }
EOF
if
{
(
eval echo
configure:48
16
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
30
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_const
=
yes
else
...
...
@@ -4833,21 +4847,21 @@ EOF
fi
echo
$ac_n
"checking for inline""...
$ac_c
"
1>&6
echo
"configure:48
37
: checking for inline"
>
&5
echo
"configure:48
51
: checking for inline"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_inline
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
ac_cv_c_inline
=
no
for
ac_kw
in
inline __inline__ __inline
;
do
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
44
"configure"
#line 48
58
"configure"
#include "confdefs.h"
int main() {
}
$ac_kw
foo() {
; return 0; }
EOF
if
{
(
eval echo
configure:48
51
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:48
65
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_inline
=
$ac_kw
;
break
else
...
...
@@ -4873,12 +4887,12 @@ EOF
esac
echo
$ac_n
"checking for ANSI C header files""...
$ac_c
"
1>&6
echo
"configure:48
77
: checking for ANSI C header files"
>
&5
echo
"configure:48
91
: checking for ANSI C header files"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_header_stdc
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 48
82
"configure"
#line 48
96
"configure"
#include "confdefs.h"
#include <stdlib.h>
#include <stdarg.h>
...
...
@@ -4886,7 +4900,7 @@ else
#include <float.h>
EOF
ac_try
=
"
$ac_cpp
conftest.
$ac_ext
>/dev/null 2>conftest.out"
{
(
eval echo
configure:4
890
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
{
(
eval echo
configure:4
904
:
\"
$ac_try
\"
)
1>&5
;
(
eval
$ac_try
)
2>&5
;
}
ac_err
=
`
grep
-v
'^ *+'
conftest.out
`
if
test
-z
"
$ac_err
"
;
then
rm
-rf
conftest
*
...
...
@@ -4903,7 +4917,7 @@ rm -f conftest*
if
test
$ac_cv_header_stdc
=
yes
;
then
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
07
"configure"
#line 49
21
"configure"
#include "confdefs.h"
#include <string.h>
EOF
...
...
@@ -4921,7 +4935,7 @@ fi
if
test
$ac_cv_header_stdc
=
yes
;
then
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
25
"configure"
#line 49
39
"configure"
#include "confdefs.h"
#include <stdlib.h>
EOF
...
...
@@ -4942,7 +4956,7 @@ if test "$cross_compiling" = yes; then
:
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 49
46
"configure"
#line 49
60
"configure"
#include "confdefs.h"
#include <ctype.h>
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
...
...
@@ -4953,7 +4967,7 @@ if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
EOF
if
{
(
eval echo
configure:49
57
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:49
71
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
:
else
...
...
@@ -4977,12 +4991,12 @@ EOF
fi
echo
$ac_n
"checking for size_t""...
$ac_c
"
1>&6
echo
"configure:49
81
: checking for size_t"
>
&5
echo
"configure:49
95
: checking for size_t"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_type_size_t
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line
4986
"configure"
#line
5000
"configure"
#include "confdefs.h"
#include <sys/types.h>
#if STDC_HEADERS
...
...
@@ -5010,7 +5024,7 @@ EOF
fi
echo
$ac_n
"checking size of long long""...
$ac_c
"
1>&6
echo
"configure:50
14
: checking size of long long"
>
&5
echo
"configure:50
28
: checking size of long long"
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_sizeof_long_long
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5018,7 +5032,7 @@ else
ac_cv_sizeof_long_long
=
0
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
22
"configure"
#line 50
36
"configure"
#include "confdefs.h"
#include <stdio.h>
main()
...
...
@@ -5029,7 +5043,7 @@ main()
exit(0);
}
EOF
if
{
(
eval echo
configure:50
33
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:50
47
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_sizeof_long_long
=
`
cat
conftestval
`
else
...
...
@@ -5052,12 +5066,12 @@ EOF
if
test
"
$ac_cv_header_linux_joystick_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether linux/joystick.h uses the Linux 2.2+ API
"""...
$ac_c
"
1>&6
echo
"configure:50
56
: checking "
whether linux/joystick.h uses the Linux 2.2+ API
""
>
&5
echo
"configure:50
70
: checking "
whether linux/joystick.h uses the Linux 2.2+ API
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_linux_joystick_22_api
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 50
61
"configure"
#line 50
75
"configure"
#include "confdefs.h"
#include <sys/ioctl.h>
...
...
@@ -5069,7 +5083,7 @@ int main() {
/*empty*/
; return 0; }
EOF
if
{
(
eval echo
configure:50
73
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:50
87
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_linux_joystick_22_api
=
yes
else
...
...
@@ -5096,12 +5110,12 @@ fi
if
test
"
$ac_cv_header_sys_vfs_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/vfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:51
00
: checking "
whether sys/vfs.h defines statfs
""
>
&5
echo
"configure:51
14
: checking "
whether sys/vfs.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_vfs_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
05
"configure"
#line 51
19
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5118,7 +5132,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:51
22
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
36
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_vfs_has_statfs
=
yes
else
...
...
@@ -5145,12 +5159,12 @@ fi
if
test
"
$ac_cv_header_sys_statfs_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/statfs.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:51
49
: checking "
whether sys/statfs.h defines statfs
""
>
&5
echo
"configure:51
63
: checking "
whether sys/statfs.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_statfs_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 51
54
"configure"
#line 51
68
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5165,7 +5179,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:51
69
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:51
83
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_statfs_has_statfs
=
yes
else
...
...
@@ -5192,12 +5206,12 @@ fi
if
test
"
$ac_cv_header_sys_mount_h
"
=
"yes"
then
echo
$ac_n
"checking "
whether sys/mount.h defines statfs
"""...
$ac_c
"
1>&6
echo
"configure:5
196
: checking "
whether sys/mount.h defines statfs
""
>
&5
echo
"configure:5
210
: checking "
whether sys/mount.h defines statfs
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_sys_mount_has_statfs
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
01
"configure"
#line 52
15
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5212,7 +5226,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:52
16
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
30
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_sys_mount_has_statfs
=
yes
else
...
...
@@ -5238,7 +5252,7 @@ fi
echo
$ac_n
"checking "
for
statfs.f_bfree
"""...
$ac_c
"
1>&6
echo
"configure:52
42
: checking "
for
statfs.f_bfree
""
>
&5
echo
"configure:52
56
: checking "
for
statfs.f_bfree
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bfree
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5247,7 +5261,7 @@ else
wine_cv_statfs_bfree
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 52
51
"configure"
#line 52
65
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5274,7 +5288,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:52
78
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:52
92
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bfree
=
yes
else
...
...
@@ -5298,7 +5312,7 @@ EOF
fi
echo
$ac_n
"checking "
for
statfs.f_bavail
"""...
$ac_c
"
1>&6
echo
"configure:53
02
: checking "
for
statfs.f_bavail
""
>
&5
echo
"configure:53
16
: checking "
for
statfs.f_bavail
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
wine_cv_statfs_bavail
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5307,7 +5321,7 @@ else
wine_cv_statfs_bavail
=
no
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
11
"configure"
#line 53
25
"configure"
#include "confdefs.h"
#include <sys/types.h>
...
...
@@ -5334,7 +5348,7 @@ int main() {
; return 0; }
EOF
if
{
(
eval echo
configure:53
38
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:53
52
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
wine_cv_statfs_bavail
=
yes
else
...
...
@@ -5359,7 +5373,7 @@ fi
echo
$ac_n
"checking "
for
working sigaltstack
"""...
$ac_c
"
1>&6
echo
"configure:53
63
: checking "
for
working sigaltstack
""
>
&5
echo
"configure:53
77
: checking "
for
working sigaltstack
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_working_sigaltstack
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
...
...
@@ -5368,7 +5382,7 @@ else
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 53
72
"configure"
#line 53
86
"configure"
#include "confdefs.h"
#include <stdio.h>
...
...
@@ -5406,7 +5420,7 @@ else
}
EOF
if
{
(
eval echo
configure:54
10
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
if
{
(
eval echo
configure:54
24
:
\"
$ac_link
\"
)
1>&5
;
(
eval
$ac_link
)
2>&5
;
}
&&
test
-s
conftest
&&
(
./conftest
;
exit
)
2>/dev/null
then
ac_cv_c_working_sigaltstack
=
"yes"
else
...
...
@@ -5433,12 +5447,12 @@ fi
echo
$ac_n
"checking "
for
msg_accrights
in
struct msghdr
"""...
$ac_c
"
1>&6
echo
"configure:54
37
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
echo
"configure:54
51
: checking "
for
msg_accrights
in
struct msghdr
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_c_msg_accrights
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
42
"configure"
#line 54
56
"configure"
#include "confdefs.h"
#include <sys/types.h>
#include <sys/socket.h>
...
...
@@ -5446,7 +5460,7 @@ int main() {
struct msghdr hdr; hdr.msg_accrights=0
; return 0; }
EOF
if
{
(
eval echo
configure:54
50
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
if
{
(
eval echo
configure:54
64
:
\"
$ac_compile
\"
)
1>&5
;
(
eval
$ac_compile
)
2>&5
;
}
;
then
rm
-rf
conftest
*
ac_cv_c_msg_accrights
=
"yes"
else
...
...
@@ -5469,12 +5483,12 @@ fi
echo
$ac_n
"checking "
whether we need to define __i386__
"""...
$ac_c
"
1>&6
echo
"configure:54
73
: checking "
whether we need to define __i386__
""
>
&5
echo
"configure:54
87
: checking "
whether we need to define __i386__
""
>
&5
if
eval
"test
\"
`
echo
'$''{'
ac_cv_cpp_def_i386
'+set}'
`
\"
= set"
;
then
echo
$ac_n
"(cached)
$ac_c
"
1>&6
else
cat
>
conftest.
$ac_ext
<<
EOF
#line 54
78
"configure"
#line 54
92
"configure"
#include "confdefs.h"
#if (defined(i386) || defined(__i386)) && !defined(__i386__)
yes
...
...
configure.in
View file @
96336324
...
...
@@ -532,37 +532,51 @@ AC_CHECK_FUNCS(\
dnl **** Check for header files ****
AC_CHECK_HEADERS(\
a.out.h \
a_out.h \
arpa/inet.h \
arpa/nameser.h \
curses.h \
elf.h \
float.h \
libio.h \
link.h \
linux/cdrom.h \
linux/joystick.h \
linux/ucdrom.h \
ncurses.h \
net/if.h \
netinet/in.h \
netinet/tcp.h \
resolv.h \
sched.h \
socket.h \
strings.h \
sys/cdio.h \
sys/errno.h \
sys/file.h \
sys/filio.h \
sys/ipc.h \
sys/lwp.h \
sys/mman.h \
sys/modem.h \
sys/mount.h \
sys/msg.h \
sys/param.h \
sys/signal.h \
sys/shm.h \
sys/socket.h \
sys/sockio.h \
sys/statfs.h \
sys/strtio.h \
sys/syscall.h \
sys/wait.h \
sys/v86.h \
sys/v86intr.h \
sys/vfs.h \
sys/vm86.h \
syscall.h \
ucontext.h \
unistd.h \
wctype.h \
)
AC_HEADER_STAT()
...
...
debugger/stabs.c
View file @
96336324
...
...
@@ -34,14 +34,20 @@
#ifdef HAVE_ELF_H
# include <elf.h>
#endif
#include <link.h>
#ifdef HAVE_LINK_H
# include <link.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#
include <sys/mman.h>
#endif
#elif defined(__EMX__)
#include <a_out.h>
#ifdef HAVE_A_OUT_H
# include <a_out.h>
#endif
#else
#include <a.out.h>
#ifdef HAVE_A_OUT_H
# include <a.out.h>
#endif
#endif
#ifndef N_UNDF
...
...
dlls/crtdll/crtdll_main.c
View file @
96336324
...
...
@@ -26,6 +26,8 @@ AJ 990101:
* since we need 2 byte wide characters. - Marcus Meissner, 981031
*/
#include "config.h"
#include <errno.h>
#include <stdlib.h>
#include <stdarg.h>
...
...
dlls/ole32/compobj.c
View file @
96336324
...
...
@@ -8,9 +8,8 @@
*/
#include "config.h"
#ifdef HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <unistd.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/time.h>
...
...
@@ -19,7 +18,9 @@
# include <sys/file.h>
#endif
#include <sys/ioctl.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_SYS_SOCKIO_H
# include <sys/sockio.h>
#endif
...
...
dlls/oleaut32/variant.c
View file @
96336324
...
...
@@ -20,6 +20,8 @@
* - The parsing does not accept has many formats has the Windows implementation.
*/
#include "config.h"
#include "windef.h"
#include "oleauto.h"
#include "heap.h"
...
...
dlls/winaspi/winaspi16.c
View file @
96336324
#include "config.h"
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
...
...
dlls/wnaspi32/winaspi32.c
View file @
96336324
#include "config.h"
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
...
...
files/directory.c
View file @
96336324
...
...
@@ -4,6 +4,8 @@
* Copyright 1995 Alexandre Julliard
*/
#include "config.h"
#include <ctype.h>
#include <stdlib.h>
#include <string.h>
...
...
files/dos_fs.c
View file @
96336324
...
...
@@ -1599,7 +1599,7 @@ void DOSFS_UnixTimeToFileTime( time_t unix_time, FILETIME *filetime,
Claus Fischer, fischer@iue.tuwien.ac.at
*/
#if
(SIZEOF_LONG_LONG >= 8)
#if
SIZEOF_LONG_LONG >= 8
# define USE_LONG_LONG 1
#else
# define USE_LONG_LONG 0
...
...
graphics/ddraw.c
View file @
96336324
...
...
@@ -22,10 +22,14 @@
#include "ts_xutil.h"
#ifdef HAVE_LIBXXSHM
#include <sys/types.h>
#include <sys/ipc.h>
#include <sys/shm.h>
#include "ts_xshm.h"
# include <sys/types.h>
# ifdef HAVE_SYS_IPC_H
# include <sys/ipc.h>
# endif
# ifdef HAVE_SYS_SHM_H
# include <sys/shm.h>
# endif
# include "ts_xshm.h"
#endif
/* defined(HAVE_LIBXXSHM) */
#ifdef HAVE_LIBXXF86DGA
...
...
@@ -40,7 +44,9 @@
#include <unistd.h>
#include <assert.h>
#include <sys/signal.h>
#ifdef HAVE_SYS_SIGNAL_H
# include <sys/signal.h>
#endif
#include <fcntl.h>
#include <string.h>
#include <stdlib.h>
...
...
graphics/x11drv/dib.c
View file @
96336324
...
...
@@ -11,6 +11,16 @@
#include "ts_xlib.h"
#include "ts_xutil.h"
#ifdef HAVE_LIBXXSHM
# include "ts_xshm.h"
# ifdef HAVE_SYS_SHM_H
# include <sys/shm.h>
# endif
# ifdef HAVE_SYS_IPC_H
# include <sys/ipc.h>
# endif
#endif
/* defined(HAVE_LIBXXSHM) */
#include "windef.h"
#include "bitmap.h"
#include "x11drv.h"
...
...
@@ -22,10 +32,6 @@
#include "global.h"
#include "xmalloc.h"
/* for XCREATEIMAGE macro */
#include "ts_xshm.h"
#include <sys/shm.h>
#include <sys/ipc.h>
DECLARE_DEBUG_CHANNEL
(
bitmap
)
DECLARE_DEBUG_CHANNEL
(
x11drv
)
...
...
include/config.h.in
View file @
96336324
...
...
@@ -217,6 +217,15 @@
/* Define if you have the <X11/xpm.h> header file. */
#undef HAVE_X11_XPM_H
/* Define if you have the <a.out.h> header file. */
#undef HAVE_A_OUT_H
/* Define if you have the <a_out.h> header file. */
#undef HAVE_A_OUT_H
/* Define if you have the <arpa/inet.h> header file. */
#undef HAVE_ARPA_INET_H
/* Define if you have the <arpa/nameser.h> header file. */
#undef HAVE_ARPA_NAMESER_H
...
...
@@ -235,6 +244,9 @@
/* Define if you have the <libio.h> header file. */
#undef HAVE_LIBIO_H
/* Define if you have the <link.h> header file. */
#undef HAVE_LINK_H
/* Define if you have the <linux/cdrom.h> header file. */
#undef HAVE_LINUX_CDROM_H
...
...
@@ -256,9 +268,18 @@
/* Define if you have the <netinet/in.h> header file. */
#undef HAVE_NETINET_IN_H
/* Define if you have the <netinet/tcp.h> header file. */
#undef HAVE_NETINET_TCP_H
/* Define if you have the <resolv.h> header file. */
#undef HAVE_RESOLV_H
/* Define if you have the <sched.h> header file. */
#undef HAVE_SCHED_H
/* Define if you have the <socket.h> header file. */
#undef HAVE_SOCKET_H
/* Define if you have the <soundcard.h> header file. */
#undef HAVE_SOUNDCARD_H
...
...
@@ -277,6 +298,9 @@
/* Define if you have the <sys/filio.h> header file. */
#undef HAVE_SYS_FILIO_H
/* Define if you have the <sys/ipc.h> header file. */
#undef HAVE_SYS_IPC_H
/* Define if you have the <sys/lwp.h> header file. */
#undef HAVE_SYS_LWP_H
...
...
@@ -289,12 +313,21 @@
/* Define if you have the <sys/mount.h> header file. */
#undef HAVE_SYS_MOUNT_H
/* Define if you have the <sys/msg.h> header file. */
#undef HAVE_SYS_MSG_H
/* Define if you have the <sys/param.h> header file. */
#undef HAVE_SYS_PARAM_H
/* Define if you have the <sys/shm.h> header file. */
#undef HAVE_SYS_SHM_H
/* Define if you have the <sys/signal.h> header file. */
#undef HAVE_SYS_SIGNAL_H
/* Define if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
/* Define if you have the <sys/sockio.h> header file. */
#undef HAVE_SYS_SOCKIO_H
...
...
@@ -310,18 +343,27 @@
/* Define if you have the <sys/syscall.h> header file. */
#undef HAVE_SYS_SYSCALL_H
/* Define if you have the <sys/v86.h> header file. */
#undef HAVE_SYS_V86_H
/* Define if you have the <sys/v86intr.h> header file. */
#undef HAVE_SYS_V86INTR_H
/* Define if you have the <sys/vfs.h> header file. */
#undef HAVE_SYS_VFS_H
/* Define if you have the <sys/vm86.h> header file. */
#undef HAVE_SYS_VM86_H
/* Define if you have the <sys/wait.h> header file. */
#undef HAVE_SYS_WAIT_H
/* Define if you have the <syscall.h> header file. */
#undef HAVE_SYSCALL_H
/* Define if you have the <ucontext.h> header file. */
#undef HAVE_UCONTEXT_H
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if you have the <wctype.h> header file. */
#undef HAVE_WCTYPE_H
...
...
loader/dos/dosmod.c
View file @
96336324
...
...
@@ -6,6 +6,8 @@
#if defined(linux) && defined(__i386__)
#include "config.h"
/* apparently ELF images are usually loaded high anyway */
#ifndef __ELF__
/* if not, force dosmod at high addresses */
...
...
@@ -20,12 +22,18 @@ asm(".org 0x110000");
#include <fcntl.h>
#include <signal.h>
#include <sys/stat.h>
#include <sys/mman.h>
#include <sys/vm86.h>
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
#ifdef HAVE_SYS_VM86_H
# include <sys/vm86.h>
#endif
#include <sys/time.h>
#include <sys/types.h>
#include <sys/ptrace.h>
#include <sys/wait.h>
#ifdef HAVE_SYS_WAIT_H
# include <sys/wait.h>
#endif
#include "dosmod.h"
/* FIXME: hack because libc vm86 may be the old syscall version */
...
...
loader/dos/dosvm.c
View file @
96336324
...
...
@@ -6,6 +6,8 @@
* This code hasn't been completely cleaned up yet.
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
...
...
@@ -34,8 +36,12 @@ DECLARE_DEBUG_CHANNEL(relay)
#ifdef MZ_SUPPORTED
#include <sys/vm86.h>
#include <sys/mman.h>
#ifdef HAVE_SYS_VM86_H
# include <sys/vm86.h>
#endif
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
#define IF_CLR(ctx) EFL_reg(ctx) &= ~VIF_MASK
#define IF_ENABLED(ctx) (EFL_reg(ctx) & VIF_MASK)
...
...
loader/dos/module.c
View file @
96336324
...
...
@@ -6,6 +6,8 @@
* This code hasn't been completely cleaned up yet.
*/
#include "config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
...
...
@@ -38,7 +40,9 @@ DEFAULT_DEBUG_CHANNEL(module)
#ifdef MZ_SUPPORTED
#include <sys/mman.h>
#ifdef HAVE_SYS_MMAN_H
# include <sys/mman.h>
#endif
/* define this to try mapping through /proc/pid/mem instead of a temp file,
but Linus doesn't like mmapping /proc/pid/mem, so it doesn't work for me */
...
...
loader/pe_image.c
View file @
96336324
...
...
@@ -33,6 +33,8 @@
* difficult to support... (See mm/filemap.c).
*/
#include "config.h"
#include <errno.h>
#include <assert.h>
#include <stdlib.h>
...
...
memory/ldt.c
View file @
96336324
...
...
@@ -5,6 +5,8 @@
* Copyright 1995 Alexandre Julliard
*/
#include "config.h"
#include <stdlib.h>
#include <string.h>
#include <errno.h>
...
...
@@ -16,7 +18,10 @@ DEFAULT_DEBUG_CHANNEL(ldt)
#ifdef __i386__
#ifdef linux
#include <sys/syscall.h>
#ifdef HAVE_SYS_SYSCALL_H
# include <sys/syscall.h>
#endif
struct
modify_ldt_s
{
...
...
msdos/int21.c
View file @
96336324
...
...
@@ -2,6 +2,8 @@
* DOS interrupt 21h handler
*/
#include "config.h"
#include <time.h>
#include <fcntl.h>
#include <errno.h>
...
...
objects/gdiobj.c
View file @
96336324
...
...
@@ -1027,7 +1027,7 @@ INT WINAPI MulDiv(
INT
nMultiplier
,
INT
nDivisor
)
{
#if
(SIZEOF_LONG_LONG >= 8)
#if
SIZEOF_LONG_LONG >= 8
long
long
ret
;
if
(
!
nDivisor
)
return
-
1
;
...
...
relay32/snoop.c
View file @
96336324
...
...
@@ -4,6 +4,7 @@
* Copyright 1998 Marcus Meissner
*/
#include "config.h"
#include <assert.h>
#include <string.h>
...
...
scheduler/client.c
View file @
96336324
...
...
@@ -12,7 +12,9 @@
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
...
...
scheduler/thread.c
View file @
96336324
...
...
@@ -9,7 +9,9 @@
#include <assert.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#ifdef HAVE_SYS_MMAN_H
#include <sys/mman.h>
#endif
...
...
server/console.c
View file @
96336324
...
...
@@ -7,6 +7,8 @@
* the client-side console support.
*/
#include "config.h"
#include <assert.h>
#include <fcntl.h>
#include <signal.h>
...
...
server/file.c
View file @
96336324
...
...
@@ -4,6 +4,8 @@
* Copyright (C) 1998 Alexandre Julliard
*/
#include "config.h"
#include <assert.h>
#include <fcntl.h>
#include <stdio.h>
...
...
server/pipe.c
View file @
96336324
...
...
@@ -4,6 +4,8 @@
* Copyright (C) 1998 Alexandre Julliard
*/
#include "config.h"
#include <assert.h>
#include <fcntl.h>
#include <string.h>
...
...
server/sock.c
View file @
96336324
...
...
@@ -7,18 +7,27 @@
* on the access of the current handle?
*/
#include "config.h"
#include <assert.h>
#include <fcntl.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/errno.h>
#ifdef HAVE_SYS_ERRNO_H
# include <sys/errno.h>
#endif
#include <sys/stat.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/ioctl.h>
#ifdef HAVE_SYS_FILIO_H
# include <sys/filio.h>
#endif
#include <time.h>
#include <unistd.h>
...
...
server/socket.c
View file @
96336324
...
...
@@ -4,6 +4,8 @@
* Copyright (C) 1998 Alexandre Julliard
*/
#include "config.h"
#include <assert.h>
#include <errno.h>
#include <fcntl.h>
...
...
@@ -13,7 +15,9 @@
#include <string.h>
#include <sys/time.h>
#include <sys/types.h>
#include <sys/socket.h>
#ifdef HAVE_SYS_SOCKET_H
# include <sys/socket.h>
#endif
#include <sys/uio.h>
#include <unistd.h>
...
...
tools/build.c
View file @
96336324
...
...
@@ -6,6 +6,8 @@
* Copyright 1999 Ulrich Weigand
*/
#include "config.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
...
...
tools/fnt2bdf.c
View file @
96336324
...
...
@@ -7,7 +7,11 @@
*
*/
#include <sys/param.h>
#include "config.h"
#ifdef HAVE_SYS_PARAM_H
# include <sys/param.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
#include <stdlib.h>
...
...
win32/console.c
View file @
96336324
...
...
@@ -19,6 +19,8 @@
* - LYNX/W32. Works mostly, some keys crash it.
*/
#include "config.h"
#include <stdlib.h>
#include <unistd.h>
#include <termios.h>
...
...
win32/device.c
View file @
96336324
...
...
@@ -7,6 +7,8 @@
*
*/
#include "config.h"
#include <errno.h>
#include <assert.h>
#include <stdlib.h>
...
...
win32/file.c
View file @
96336324
...
...
@@ -4,6 +4,8 @@
* Copyright 1995 Martin von Loewis, Sven Verdoolaege, and Cameron Heide
*/
#include "config.h"
#include <errno.h>
#ifdef HAVE_SYS_ERRNO_H
#include <sys/errno.h>
...
...
win32/process.c
View file @
96336324
...
...
@@ -38,7 +38,7 @@ void Process_ClockTimeToFileTime( clock_t unix_time, LPFILETIME filetime )
{
double
td
=
(
unix_time
*
10000000
.
0
)
/
CLK_TCK
;
/* Yes, double, because long int might overflow here. */
#if
(SIZEOF_LONG_LONG >= 8)
#if
SIZEOF_LONG_LONG >= 8
unsigned
long
long
t
=
td
;
filetime
->
dwLowDateTime
=
(
UINT
)
t
;
filetime
->
dwHighDateTime
=
(
UINT
)
(
t
>>
32
);
...
...
windows/dinput.c
View file @
96336324
...
...
@@ -30,7 +30,9 @@
#include <sys/fcntl.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <sys/errno.h>
#ifdef HAVE_SYS_ERRNO_H
# include <sys/errno.h>
#endif
#ifdef HAVE_LINUX_JOYSTICK_H
# include <linux/joystick.h>
# define JOYDEV "/dev/js0"
...
...
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