diff --git a/build/make/obj_int_extract.c b/build/make/obj_int_extract.c index 819ce9d58..2e50f387f 100644 --- a/build/make/obj_int_extract.c +++ b/build/make/obj_int_extract.c @@ -34,6 +34,18 @@ int log_msg(const char *fmt, ...) { } #if defined(__GNUC__) && __GNUC__ + +#if defined(FORCE_PARSE_ELF) + +#if defined(__MACH__) +#undef __MACH__ +#endif + +#if !defined(__ELF__) +#define __ELF__ +#endif +#endif + #if defined(__MACH__) #include