summaryrefslogtreecommitdiff
path: root/experimental/elfutils/musl-cdefs.patch
blob: 2c8dc4e5081f751032ac8149f5bd7c5c7f1859c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- elfutils-0.179/libelf/elf.h	2020-03-30 07:17:45.000000000 -0500
+++ elfutils-0.179/libelf/elf.h	2020-04-17 03:48:44.199416141 -0500
@@ -21,7 +21,9 @@
 
 #include <features.h>
 
-__BEGIN_DECLS
+#ifdef __cplusplus
+extern "C" {
+#endif
 
 /* Standard ELF types.  */
 
@@ -4007,6 +4009,8 @@ enum
 #define R_NDS32_TLS_TPOFF	102
 #define R_NDS32_TLS_DESC	119
 
-__END_DECLS
+#ifdef __cplusplus
+}
+#endif
 
 #endif	/* elf.h */