Fix warning about undeclared __clear_cache function call.
This commit is contained in:
parent
d0dae7f241
commit
b46f7461a3
1 changed files with 1 additions and 0 deletions
1
tccrun.c
1
tccrun.c
|
@ -234,6 +234,7 @@ static void set_pages_executable(void *ptr, unsigned long length)
|
|||
unsigned long old_protect;
|
||||
VirtualProtect(ptr, length, PAGE_EXECUTE_READWRITE, &old_protect);
|
||||
#else
|
||||
extern void __clear_cache(char *beginning, char *end);
|
||||
#ifndef PAGESIZE
|
||||
# define PAGESIZE 4096
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue