Commit e4b15106 by Richard Kenner

(_trampoline): Add stdcall attribute to VirtualProtect on i386.

From-SVN: r14371
parent cbae24bc
...@@ -2729,6 +2729,10 @@ long getpagesize() ...@@ -2729,6 +2729,10 @@ long getpagesize()
#endif #endif
} }
#ifdef i386
extern int VirtualProtect (char *, int, int, int *) __attribute__((stdcall));
#endif
int mprotect(char *addr, int len, int prot) int mprotect(char *addr, int len, int prot)
{ {
int np, op; int np, op;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment