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
754e7aa7
Commit
754e7aa7
authored
Sep 03, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added configure check for socklen_t.
parent
424a05c8
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
75 additions
and
1 deletion
+75
-1
configure
configure
+63
-0
configure.ac
configure.ac
+1
-1
cookie.c
dlls/wininet/cookie.c
+1
-0
dialogs.c
dlls/wininet/dialogs.c
+1
-0
http.c
dlls/wininet/http.c
+1
-0
urlcache.c
dlls/wininet/urlcache.c
+1
-0
utility.c
dlls/wininet/utility.c
+1
-0
config.h.in
include/config.h.in
+3
-0
port.h
include/wine/port.h
+3
-0
No files found.
configure
View file @
754e7aa7
...
...
@@ -17463,6 +17463,69 @@ _ACEOF
fi
echo
"
$as_me
:
$LINENO
: checking for socklen_t"
>
&5
echo
$ECHO_N
"checking for socklen_t...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_type_socklen_t
+set
}
"
=
set
;
then
echo
$ECHO_N
"(cached)
$ECHO_C
"
>
&6
else
cat
>
conftest.
$ac_ext
<<
_ACEOF
/* confdefs.h. */
_ACEOF
cat
confdefs.h
>>
conftest.
$ac_ext
cat
>>
conftest.
$ac_ext
<<
_ACEOF
/* end confdefs.h. */
$ac_includes_default
int
main ()
{
if ((socklen_t *) 0)
return 0;
if (sizeof (socklen_t))
return 0;
;
return 0;
}
_ACEOF
rm
-f
conftest.
$ac_objext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_compile
\"
"
)
>
&5
(
eval
$ac_compile
)
2>conftest.er1
ac_status
=
$?
grep
-v
'^ *+'
conftest.er1
>
conftest.err
rm
-f
conftest.er1
cat
conftest.err
>
&5
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
&&
{
ac_try
=
'test -z "$ac_c_werror_flag" || test ! -s conftest.err'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
&&
{
ac_try
=
'test -s conftest.$ac_objext'
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_try
\"
"
)
>
&5
(
eval
$ac_try
)
2>&5
ac_status
=
$?
echo
"
$as_me
:
$LINENO
:
\$
? =
$ac_status
"
>
&5
(
exit
$ac_status
)
;
}
;
}
;
then
ac_cv_type_socklen_t
=
yes
else
echo
"
$as_me
: failed program was:"
>
&5
sed
's/^/| /'
conftest.
$ac_ext
>
&5
ac_cv_type_socklen_t
=
no
fi
rm
-f
conftest.err conftest.
$ac_objext
conftest.
$ac_ext
fi
echo
"
$as_me
:
$LINENO
: result:
$ac_cv_type_socklen_t
"
>
&5
echo
"
${
ECHO_T
}
$ac_cv_type_socklen_t
"
>
&6
if
test
$ac_cv_type_socklen_t
=
yes
;
then
cat
>>
confdefs.h
<<
_ACEOF
#define HAVE_SOCKLEN_T 1
_ACEOF
fi
echo
"
$as_me
:
$LINENO
: checking for long long"
>
&5
echo
$ECHO_N
"checking for long long...
$ECHO_C
"
>
&6
if
test
"
${
ac_cv_type_long_long
+set
}
"
=
set
;
then
...
...
configure.ac
View file @
754e7aa7
...
...
@@ -1264,7 +1264,7 @@ dnl **** Check for types ****
AC_C_CONST
AC_C_INLINE
AC_CHECK_TYPES([mode_t, off_t, pid_t, size_t, ssize_t, long long, fsblkcnt_t, fsfilcnt_t])
AC_CHECK_TYPES([mode_t, off_t, pid_t, size_t, ssize_t,
socklen_t,
long long, fsblkcnt_t, fsfilcnt_t])
AC_CACHE_CHECK([whether linux/input.h is for real],
wine_cv_linux_input_h,
...
...
dlls/wininet/cookie.c
View file @
754e7aa7
...
...
@@ -21,6 +21,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdio.h>
...
...
dlls/wininet/dialogs.c
View file @
754e7aa7
...
...
@@ -19,6 +19,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
...
...
dlls/wininet/http.c
View file @
754e7aa7
...
...
@@ -26,6 +26,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <sys/types.h>
#ifdef HAVE_SYS_SOCKET_H
...
...
dlls/wininet/urlcache.c
View file @
754e7aa7
...
...
@@ -24,6 +24,7 @@
#define COM_NO_WINDOWS_H
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdio.h>
...
...
dlls/wininet/utility.c
View file @
754e7aa7
...
...
@@ -23,6 +23,7 @@
*/
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdlib.h>
...
...
include/config.h.in
View file @
754e7aa7
...
...
@@ -524,6 +524,9 @@
/* Define to 1 if you have the <socket.h> header file. */
#undef HAVE_SOCKET_H
/* Define to 1 if the system has the type `socklen_t'. */
#undef HAVE_SOCKLEN_T
/* Define to 1 if you have the <soundcard.h> header file. */
#undef HAVE_SOUNDCARD_H
...
...
include/wine/port.h
View file @
754e7aa7
...
...
@@ -61,6 +61,9 @@ typedef int pid_t;
#ifndef HAVE_SIZE_T
typedef
unsigned
int
size_t
;
#endif
#ifndef HAVE_SOCKLEN_T
typedef
unsigned
int
socklen_t
;
#endif
#ifndef HAVE_SSIZE_T
typedef
int
ssize_t
;
#endif
...
...
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