From 7416150deb000307d521c9f7564b76c188923ca3 Mon Sep 17 00:00:00 2001 From: Sverker Eriksson Date: Thu, 13 Jun 2019 15:34:11 +0200 Subject: 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. --- erts/emulator/hipe/hipe_arm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'erts') 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 /* 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__*/ -- cgit v1.2.3