summaryrefslogblamecommitdiff
path: root/experimental/elfutils/musl-cdefs.patch
blob: b74561f4699cc578ed52028b270b1ba7a46bef6d (plain) (tree)






















                                                                   
--- elfutils-0.176/libelf/elf.h	2019-02-15 10:46:47.000000000 -0500
+++ elfutils-0.176/libelf/elf.h	2019-07-18 01:52:14.789891340 -0400
@@ -21,7 +21,9 @@
 
 #include <features.h>
 
-__BEGIN_DECLS
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* Standard ELF types.  */
 
@@ -3915,6 +3917,8 @@ enum
 #define R_METAG_TLS_LE_HI16	60
 #define R_METAG_TLS_LE_LO16	61
 
-__END_DECLS
+#ifdef __cplusplus
+}
+#endif
 
 #endif	/* elf.h */