3 #include "host_intern.h"
6 * A simple glue code. I'm too lazy to import kernel32.dll via hostlib.resource
7 * just for one function.
10 unsigned int __declspec(dllexport
) __aros
core_protect(void *addr
, unsigned int len
, unsigned int prot
)
14 return VirtualProtect(addr
, len
, prot
, &oldprot
);