1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-19 06:17:00 +00: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) if(answer==(void*)-1)
{ {
printf(" VirtualAlloc(...) mmap(0x%08X, %u, ...) failed with errno=%d (\"%s\")\n", /*printf(" VirtualAlloc(...) mmap(0x%08X, %u, ...) failed with errno=%d (\"%s\")\n",
(unsigned)address, size, errno, sys_errlist[errno]); (unsigned)address, size, errno, strerror(errno));*/
return NULL; return NULL;
} }
else else