Commit 074d9e4c authored by Gerald Pfeifer's avatar Gerald Pfeifer Committed by Alexandre Julliard

set_last_error() is only used on Linux.

parent 02b372a7
......@@ -58,6 +58,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(aspi);
#ifdef linux
static void set_last_error(void)
{
int save_errno = errno; /* errno gets overwritten by printf */
......@@ -110,6 +111,7 @@ static void set_last_error(void)
}
errno = save_errno;
}
#endif
static const WCHAR wDevicemapScsi[] = {'H','A','R','D','W','A','R','E','\\','D','E','V','I','C','E','M','A','P','\\','S','c','s','i',0};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment