mirror of
https://github.com/mpv-player/mpv
synced 2025-02-16 03:57:06 +00:00
100l
sys_errlist[] is deprecated and breaks compilation on some systems, replaced it with strerror() also commented out the printf git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13307 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6c46da9932
commit
d73d711330
@ -534,8 +534,8 @@ LPVOID WINAPI VirtualAlloc(LPVOID address, DWORD size, DWORD type, DWORD protec
|
||||
}
|
||||
if(answer==(void*)-1)
|
||||
{
|
||||
printf(" VirtualAlloc(...) mmap(0x%08X, %u, ...) failed with errno=%d (\"%s\")\n",
|
||||
(unsigned)address, size, errno, sys_errlist[errno]);
|
||||
/*printf(" VirtualAlloc(...) mmap(0x%08X, %u, ...) failed with errno=%d (\"%s\")\n",
|
||||
(unsigned)address, size, errno, strerror(errno));*/
|
||||
return NULL;
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user