From 0276df552ddad1e5dca278daf9e7826d285d9dc3 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Sat, 20 Jun 2020 13:47:29 -0400 Subject: Make __cplusplus check explicit again for Alpine's sake --- tools/o2narc/elf.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'tools/o2narc/elf.h') diff --git a/tools/o2narc/elf.h b/tools/o2narc/elf.h index 0373f6fd..c5f9f279 100644 --- a/tools/o2narc/elf.h +++ b/tools/o2narc/elf.h @@ -5,7 +5,9 @@ #include -__BEGIN_DECLS +#ifdef __cplusplus +extern "C" { +#endif /* Type for a 16-bit quantity. */ typedef uint16_t Elf32_Half; @@ -2421,6 +2423,8 @@ typedef Elf32_Addr Elf32_Conflict; #define R_X86_64_NUM 24 -__END_DECLS +#ifdef __cplusplus +}; +#endif #endif /* elf.h */ -- cgit v1.2.3