Add CACHE_LINE_SIZE for ARM in FreeBSD header
The Haiku headers are C++ and include other C++ ones
This commit is contained in:
@@ -62,7 +62,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* defined in arch_cpu.h which we can't include here as it's C++ */
|
/* defined in arch_cpu.h which we can't include here as it's C++ */
|
||||||
#if defined(__x86_64__) || defined(__i386__)
|
#if defined(__x86_64__) || defined(__i386__) || defined(__arm__)
|
||||||
#define CACHE_LINE_SIZE 64
|
#define CACHE_LINE_SIZE 64
|
||||||
#else
|
#else
|
||||||
#error Need definition of CACHE_LINE_SIZE for this arch!
|
#error Need definition of CACHE_LINE_SIZE for this arch!
|
||||||
|
|||||||
Reference in New Issue
Block a user