0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
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:
rtognimp 2004-09-10 22:22:02 +00:00
parent 6c46da9932
commit d73d711330

View File

@ -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