mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-03 14:31:10 +00:00
Declare __clear_cache.
GCC declares __clear_cache in the gnu modes (-std=gnu++98, -std=gnu++11), but not in the strict modes (-std=c++98, -std=c++11). This patch declares it and therefore fixes the build when using one of the strict modes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c3b20c260e
commit
15cf700b41
@ -33,6 +33,7 @@
|
||||
#endif
|
||||
|
||||
extern "C" void sys_icache_invalidate(const void *Addr, size_t len);
|
||||
extern "C" void __clear_cache(char *, char*);
|
||||
|
||||
namespace {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user