mirror of https://github.com/mpv-player/mpv
Place a volatile at a more appropriate place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30268 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
acc53c9609
commit
af6f08ce6a
|
@ -5328,7 +5328,7 @@ static WIN_BOOL WINAPI ext_stubs(void)
|
|||
{
|
||||
volatile int idx = 0x0deadabc;
|
||||
// make sure gcc does not do eip-relative call or something like that
|
||||
volatile void (*my_printf)(char *, char *) = (void *)0xdeadfbcd;
|
||||
void (* volatile my_printf)(char *, char *) = (void *)0xdeadfbcd;
|
||||
my_printf("Called unk_%s\n", export_names[idx]);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue