chiark
/
gitweb
/
~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5682fcf
)
lib/sod.h: Fix bungled varargs support macro.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 26 Mar 2017 14:16:18 +0000
(15:16 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Sat, 22 Jul 2017 17:12:57 +0000
(18:12 +0100)
lib/sod.h
patch
|
blob
|
blame
|
history
diff --git
a/lib/sod.h
b/lib/sod.h
index 45886261949e4f9eb1984fa1c97b57832d1e5895..faffb2091b6fd8b1d481fe4154b5d74d51aeb7dd 100644
(file)
--- a/
lib/sod.h
+++ b/
lib/sod.h
@@
-124,7
+124,7
@@
offsetof(struct { char sod__x; type sod__y; }, sod__y)
*/
#ifdef SOD__HAVE_VARARGS_MACROS
-# define SOD__CAR(...) SOD__CARx(__VA_
LIST
__, _)
+# define SOD__CAR(...) SOD__CARx(__VA_
ARGS
__, _)
# define SOD__CARx(a, ...) a
#endif