The original asm code for the stub returned 0, restore that behaviour.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22424 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-03-03 17:25:18 +00:00
parent fa4f66ca08
commit 96344b6d9c
1 changed files with 2 additions and 1 deletions

View File

@ -5291,12 +5291,13 @@ struct libs libraries[]={
LL(shlwapi) LL(shlwapi)
}; };
static void ext_stubs(void) static WIN_BOOL WINAPI ext_stubs(void)
{ {
volatile int idx = 0xdeadabcd; volatile int idx = 0xdeadabcd;
// make sure gcc does not do eip-relative call or something like that // make sure gcc does not do eip-relative call or something like that
volatile void (*my_printf)(char *, char *) = (void *)0xdeadfbcd; volatile void (*my_printf)(char *, char *) = (void *)0xdeadfbcd;
my_printf("Called unk_%s\n", export_names[idx]); my_printf("Called unk_%s\n", export_names[idx]);
return 0;
} }
#define MAX_STUB_SIZE 0x60 #define MAX_STUB_SIZE 0x60