mirror of
https://github.com/frida/tinycc
synced 2024-12-26 23:09:41 +03:00
Fix warning about undeclared __clear_cache function call.
This commit is contained in:
parent
d0dae7f241
commit
b46f7461a3
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 New Issue
Block a user