Unified · Split
| @@ -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 | #else | 236 | #else |
| 237 | extern void __clear_cache(char *beginning, char *end); | ||
| 237 | #ifndef PAGESIZE | 238 | #ifndef PAGESIZE |
| 238 | # define PAGESIZE 4096 | 239 | # define PAGESIZE 4096 |
| 239 | #endif | 240 | #endif |