aboutsummaryrefslogtreecommitdiff
path: root/core/libelf/patches/musl-decls.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/libelf/patches/musl-decls.patch')
-rw-r--r--core/libelf/patches/musl-decls.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/core/libelf/patches/musl-decls.patch b/core/libelf/patches/musl-decls.patch
deleted file mode 100644
index e3705695..00000000
--- a/core/libelf/patches/musl-decls.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- a/libelf/elf.h 2015-08-21 14:22:37.000000000 +0200
-+++ b/libelf/elf.h 2015-11-20 04:54:33.948081321 +0100
-@@ -21,6 +21,17 @@
-
- #include <features.h>
-
-+#if !defined(__GLIBC__)
-+/* C++ needs to know that types and declarations are C, not C++. */
-+#ifdef __cplusplus
-+# define __BEGIN_DECLS extern "C" {
-+# define __END_DECLS }
-+#else
-+# define __BEGIN_DECLS
-+# define __END_DECLS
-+#endif
-+#endif
-+
- __BEGIN_DECLS
-
- /* Standard ELF types. */