• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/atftp/0002-argz.h-fix-musl-compile-add-missing-defines.patch
Peter SeidererPeter Seiderer committed ef33c008e3c16 Apr 2015
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
From 543e67919f5cacf309ac88ab091331e41af4224b Mon Sep 17 00:00:00 2001
2
From: Peter Seiderer <ps.report@gmx.net>
3
Date: Thu, 16 Apr 2015 22:41:57 +0200
4
Subject: [PATCH] argz.h: fix musl compile (add missing defines)
5
​
6
Add __THROW, __BEGIN_DECLS, __END_DECLS and __attribute_pure__ defines.
7
​
8
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
9
---
10
 argz.h | 16 ++++++++++++++++
11
 1 file changed, 16 insertions(+)
12
​
13
diff --git a/argz.h b/argz.h
14
index 582be55..bdf9f62 100644
15
--- a/argz.h
16
+++ b/argz.h
17
@@ -48,6 +48,22 @@
18
 # define __const const
19
 #endif
20
 
21
+#ifndef __THROW
22
+# define __THROW
23
+#endif
24
+
25
+#ifndef __BEGIN_DECLS
26
+# define __BEGIN_DECLS
27
+#endif
28
+
29
+#ifndef __END_DECLS
30
+# define __END_DECLS
31
+#endif
32
+
33
+#ifndef __attribute_pure__
34
+# define __attribute_pure__
35
+#endif
36
+
37
 #ifndef __error_t_defined
38
 typedef int error_t;
39
 #endif
40
-- 
41
2.1.4
42
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.