projects
/
project
/
libubox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5038992
)
list.h: undefine LIST_HEAD to prevent conflicts on mac os x
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 4 Oct 2012 14:11:04 +0000
(16:11 +0200)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 4 Oct 2012 14:11:04 +0000
(16:11 +0200)
list.h
patch
|
blob
|
history
diff --git
a/list.h
b/list.h
index
8425aff
..
47ce33b
100644
(file)
--- a/
list.h
+++ b/
list.h
@@
-45,6
+45,7
@@
struct list_head {
};
#define LIST_HEAD_INIT(name) { &(name), &(name) }
+#undef LIST_HEAD
#define LIST_HEAD(name) struct list_head name = LIST_HEAD_INIT(name)
static inline void