(_trampoline): Add stdcall attribute to VirtualProtect on i386.
From-SVN: r14371
This commit is contained in:
parent
cbae24bcbe
commit
e4b151062f
@ -2729,6 +2729,10 @@ long getpagesize()
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef i386
|
||||
extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall));
|
||||
#endif
|
||||
|
||||
int mprotect(char *addr, int len, int prot)
|
||||
{
|
||||
int np, op;
|
||||
|
Loading…
Reference in New Issue
Block a user