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
6e5f3c75
Commit
6e5f3c75
authored
Jul 29, 2000
by
Uwe Bonnes
Committed by
Alexandre Julliard
Jul 29, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
We always have strerror, so no need to ifdef HAVE_STRERROR.
parent
a14ca868
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
12 deletions
+0
-12
winaspi16.c
dlls/winaspi/winaspi16.c
+0
-8
socket.c
dlls/winsock/socket.c
+0
-4
No files found.
dlls/winaspi/winaspi16.c
View file @
6e5f3c75
...
...
@@ -72,11 +72,7 @@ ASPI_OpenDevice16(SRB_ExecSCSICmd16 *prb)
fd
=
open
(
device_str
,
O_RDWR
);
if
(
fd
==
-
1
)
{
int
save_error
=
errno
;
#ifdef HAVE_STRERROR
ERR
(
"Error opening device %s, error '%s'
\n
"
,
device_str
,
strerror
(
save_error
));
#else
ERR
(
"Error opening device %s, error %d
\n
"
,
device_str
,
save_error
);
#endif
return
-
1
;
}
...
...
@@ -308,11 +304,7 @@ ASPI_ExecScsiCmd(DWORD ptrPRB, UINT16 mode)
if
(
save_error
==
ENOMEM
)
{
MESSAGE
(
"ASPI: Linux generic scsi driver
\n
You probably need to re-compile your kernel with a larger SG_BIG_BUFF value (sg.h)
\n
Suggest 130560
\n
"
);
}
#ifdef HAVE_STRERROR
WARN
(
"error:= '%s'
\n
"
,
strerror
(
save_error
));
#else
WARN
(
"error:= %d
\n
"
,
save_error
);
#endif
}
goto
error_exit
;
}
...
...
dlls/winsock/socket.c
View file @
6e5f3c75
...
...
@@ -3039,11 +3039,7 @@ int WS_dup_se(LPWSINFO pwsi, struct servent* p_se, int flag)
UINT16
wsaErrno
(
void
)
{
int
loc_errno
=
errno
;
#ifdef HAVE_STRERROR
WARN
(
"errno %d, (%s).
\n
"
,
loc_errno
,
strerror
(
loc_errno
));
#else
WARN
(
"errno %d
\n
"
,
loc_errno
);
#endif
switch
(
loc_errno
)
{
...
...
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