History

Fix warning about undeclared __clear_cache function call.

Christian Jullien committed 12 years ago

Commit b46f7461 parent d0dae7f1 file · +1 −0Browse files

Unified · Split

tccrun.c+1−0
@@ -234,6 +234,7 @@ static void set_pages_executable(void *ptr, unsigned long length) · 233 unmodified lines
234 unsigned long old_protect;234 unsigned long old_protect;
235 VirtualProtect(ptr, length, PAGE_EXECUTE_READWRITE, &old_protect);235 VirtualProtect(ptr, length, PAGE_EXECUTE_READWRITE, &old_protect);
236#else236#else
237 extern void __clear_cache(char *beginning, char *end);
237#ifndef PAGESIZE238#ifndef PAGESIZE
238# define PAGESIZE 4096239# define PAGESIZE 4096
239#endif240#endif

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t