0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

KERNEL32 fix for ivvideo and strncmp for U263

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2669 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-11-04 00:46:12 +00:00
parent 2fde21b8c9
commit 6b3ac18e85

View File

@ -1961,6 +1961,11 @@ int WINAPI expLoadLibraryA(char* name)
// we skip to the last backslash
// this is effectively eliminating weird characters in
// the text output windows
if (strcmp(name, "KERNEL32") == 0){
printf("expLoadLibraryA('%s')\n",name);
return (int) LookupExternal(name, 0);
}
lastbc = strrchr(name, '\\');
if (lastbc)
@ -2310,6 +2315,12 @@ int expstrcmp(const char* str1, const char* str2)
dbgprintf("strcmp(0x%x='%s', 0x%x='%s') => %d\n", str1, str1, str2, str2, result);
return result;
}
int expstrncmp(const char* str1, const char* str2,int x)
{
int result=strncmp(str1, str2,x);
dbgprintf("strcmp(0x%x='%s', 0x%x='%s') => %d\n", str1, str1, str2, str2, result);
return result;
}
int expstrcat(char* str1, const char* str2)
{
int result= (int) strcat(str1, str2);
@ -3135,6 +3146,7 @@ FF(strchr, -1)
FF(strlen, -1)
FF(strcpy, -1)
FF(strcmp, -1)
FF(strncmp, -1)
FF(strcat, -1)
FF(isalnum, -1)
FF(memmove, -1)