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
770c33f6
Commit
770c33f6
authored
Jul 01, 2002
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hopefully more portable errno check.
parent
5b80ce35
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
aclocal.m4
aclocal.m4
+1
-2
configure
configure
+5
-10
No files found.
aclocal.m4
View file @
770c33f6
...
...
@@ -65,9 +65,8 @@ dnl
AC_DEFUN([WINE_CHECK_ERRNO],
[AC_CACHE_CHECK([for reentrant libc: $1],[wine_cv_libc_r_$1],
[AC_TRY_RUN([int myerrno = 0;
char buf[256];
int *$1(){return &myerrno;}
main(){c
onnect(0,buf,255
); exit(!myerrno);}],
main(){c
lose(333); close(333
); exit(!myerrno);}],
wine_cv_libc_r_$1=yes, wine_cv_libc_r_$1=no,
wine_cv_libc_r_$1=yes)])
AS_IF([test "$wine_cv_libc_r_$1" = "yes"],[$2],[$3])])
...
...
configure
View file @
770c33f6
...
...
@@ -10542,9 +10542,8 @@ else
#line
$LINENO
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf[256];
int *__errno_location(){return &myerrno;}
main(){c
onnect(0,buf,255
); exit(!myerrno);}
main(){c
lose(333); close(333
); exit(!myerrno);}
_ACEOF
rm
-f
conftest
$ac_exeext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_link
\"
"
)
>
&5
...
...
@@ -10585,9 +10584,8 @@ else
#line
$LINENO
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf256;
int *__error(){return &myerrno;}
main(){c
onnect(0,buf,255
); exit(!myerrno);}
main(){c
lose(333); close(333
); exit(!myerrno);}
_ACEOF
rm
-f
conftest
$ac_exeext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_link
\"
"
)
>
&5
...
...
@@ -10628,9 +10626,8 @@ else
#line
$LINENO
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf256;
int *___errno(){return &myerrno;}
main(){c
onnect(0,buf,255
); exit(!myerrno);}
main(){c
lose(333); close(333
); exit(!myerrno);}
_ACEOF
rm
-f
conftest
$ac_exeext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_link
\"
"
)
>
&5
...
...
@@ -10671,9 +10668,8 @@ else
#line
$LINENO
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf256;
int *__thr_errno(){return &myerrno;}
main(){c
onnect(0,buf,255
); exit(!myerrno);}
main(){c
lose(333); close(333
); exit(!myerrno);}
_ACEOF
rm
-f
conftest
$ac_exeext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_link
\"
"
)
>
&5
...
...
@@ -10714,9 +10710,8 @@ else
#line
$LINENO
"configure"
#include "confdefs.h"
int myerrno = 0;
char buf256;
int *__errno(){return &myerrno;}
main(){c
onnect(0,buf,255
); exit(!myerrno);}
main(){c
lose(333); close(333
); exit(!myerrno);}
_ACEOF
rm
-f
conftest
$ac_exeext
if
{
(
eval echo
"
$as_me
:
$LINENO
:
\"
$ac_link
\"
"
)
>
&5
...
...
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