diff options
author | Sverker Eriksson <[email protected]> | 2019-06-13 15:34:11 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2019-06-13 15:36:17 +0200 |
commit | 7416150deb000307d521c9f7564b76c188923ca3 (patch) | |
tree | 84ca40a8f9f644a37c26f86cfc0e261ff22982a2 /erts | |
parent | a8ba18249d6fd3a913f320bdeeb8b9ea5eef2888 (diff) | |
download | otp-7416150deb000307d521c9f7564b76c188923ca3.tar.gz otp-7416150deb000307d521c9f7564b76c188923ca3.tar.bz2 otp-7416150deb000307d521c9f7564b76c188923ca3.zip |
erts: Fix benign preprocessor error from "make depend"
on non-Linux with gcc < 4.3
hipe/hipe_arm.c:65: #error "Don't know how to flush instruction cache"
This is benign because "make depend" runs preprocessor on more files
than actually needed.
Diffstat (limited to 'erts')
-rw-r--r-- | erts/emulator/hipe/hipe_arm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/erts/emulator/hipe/hipe_arm.c b/erts/emulator/hipe/hipe_arm.c index c5e2af0b5e..3e1d7e4d5e 100644 --- a/erts/emulator/hipe/hipe_arm.c +++ b/erts/emulator/hipe/hipe_arm.c @@ -18,6 +18,7 @@ * %CopyrightEnd% */ +#ifdef __arm__ #include <stddef.h> /* offsetof() */ #ifdef HAVE_CONFIG_H @@ -285,3 +286,5 @@ void hipe_arch_print_pcb(struct hipe_process_state *p) U("narity ", narity); #undef U } + +#endif /*__arm__*/ |