chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Prep v231.2: basic/stdio-util.h must include parse-printf-format.h instead of printf.h
[elogind.git]
/
src
/
basic
/
stdio-util.h
diff --git
a/src/basic/stdio-util.h
b/src/basic/stdio-util.h
index c15c92319283b8473c82cea656904c474c9b405c..3e0ea04f6448344129fb25c86b88dae714fea2d5 100644
(file)
--- a/
src/basic/stdio-util.h
+++ b/
src/basic/stdio-util.h
@@
-19,11
+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
def __GLIBC__
+#if
0 /// elogind is musl-libc compatible and does not directly include printf.h
#include <printf.h>
#else
#include "parse-printf-format.h"
#include <printf.h>
#else
#include "parse-printf-format.h"
-#endif
+#endif
// 0
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
#include <stdarg.h>
#include <stdio.h>
#include <sys/types.h>
@@
-77,4
+77,4
@@
do { \
assert_not_reached("Unknown format string argument."); \
} \
} \
assert_not_reached("Unknown format string argument."); \
} \
} \
-} while(false)
+} while
(false)