chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
core: rename cg_unified() to cg_all_unified()
[elogind.git]
/
src
/
basic
/
stdio-util.h
diff --git
a/src/basic/stdio-util.h
b/src/basic/stdio-util.h
index b36e8a947e5615a01450b745eefd849702acff13..3e0ea04f6448344129fb25c86b88dae714fea2d5 100644
(file)
--- a/
src/basic/stdio-util.h
+++ b/
src/basic/stdio-util.h
@@
-1,5
+1,3
@@
-/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-
#pragma once
/***
#pragma once
/***
@@
-21,7
+19,11
@@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
+#if 0 /// elogind is musl-libc compatible and does not directly include printf.h
#include <printf.h>
#include <printf.h>
+#else
+#include "parse-printf-format.h"
+#endif // 0
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
@@
-75,4
+77,4
@@
do { \
assert_not_reached("Unknown format string argument."); \
} \
} \
assert_not_reached("Unknown format string argument."); \
} \
} \
-} while(false)
+} while
(false)