aboutsummaryrefslogtreecommitdiff
path: root/ports/pcre/fix-arm64-config-define.patch
blob: d92ced46bbc4c96487ef206962137d1d408d4f6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/sljit/sljitConfigInternal.h b/sljit/sljitConfigInternal.h
index 2bda29e..56ba7a6 100644
--- a/sljit/sljitConfigInternal.h
+++ b/sljit/sljitConfigInternal.h
@@ -151,6 +151,8 @@
 #define SLJIT_CONFIG_X86_64 1
 #elif defined(_M_ARM)
 #define SLJIT_CONFIG_ARM_V5 1
+#elif defined(_M_ARM64)
+#define SLJIT_CONFIG_ARM_64 1
 #else
 #define SLJIT_CONFIG_X86_32 1
 #endif
@@ -330,7 +332,6 @@
 	__clear_cache((char*)(from), (char*)(to))
 #elif(_WIN32)
 #pragma comment(lib, "kernel32.lib")
-uint32_t FlushInstructionCache(void *hProcess, void *lpBaseAddress, uintptr_t dwSize);
 #define SLJIT_CACHE_FLUSH(from, to) \
 	FlushInstructionCache(GetCurrentProcess(), (void*)(from), (uintptr_t)(to - from));
 #endif