Skip to content

Commit eb27112

Browse files
jiegecMingcongBai
authored andcommitted
[mips] HACK: force enable cacheflush function
1 parent 8070451 commit eb27112

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/lib/builtins/clear_cache.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ uintptr_t GetCurrentProcess(void);
4343
#endif
4444

4545
#if defined(__linux__) && defined(__mips__)
46+
#define __USE_MISC
4647
#include <sys/cachectl.h>
4748
#include <sys/syscall.h>
4849
#include <unistd.h>

0 commit comments

Comments
 (0)