chiark / gitweb /
Fix service file to match installed elogind binary location
[elogind.git] / src / basic / stdio-util.h
index 60cf86a532813bd1ad3c0ae655bb0f1b3b730b40..3e0ea04f6448344129fb25c86b88dae714fea2d5 100644 (file)
   along with systemd; If not, see <http://www.gnu.org/licenses/>.
 ***/
 
-#if defined(__GLIBC__) && defined(HAVE_PRINTF_H)
+#if 0 /// elogind is musl-libc compatible and does not directly include printf.h
 #include <printf.h>
 #else
 #include "parse-printf-format.h"
-#endif
+#endif // 0
 #include <stdarg.h>
 #include <stdio.h>
 #include <sys/types.h>
@@ -77,4 +77,4 @@ do {                                                                    \
                         assert_not_reached("Unknown format string argument."); \
                 }                                                       \
         }                                                               \
-} while(false)
+} while (false)