浏览代码

remove uClibc specific gettext_printf

Other C libraries like musl/glibc does not define it.
Including stdio.h here breaks Grub2 compilation with
gcc 14 and above.
Thanks to Thomas Petazzoni for analyzing the Grub2 build error.

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Waldemar Brodkorb 5 月之前
父节点
当前提交
9ffed9adb1
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      include/libintl.h

+ 0 - 3
include/libintl.h

@@ -50,9 +50,6 @@ char *bindtextdomain(const char *domainname, const char *dirname);
 
 #endif
 
-#include <stdio.h>
-#define gettext_printf(args...) printf(args)
-
 /* to supply LC_MESSAGES and other stuff GNU expects to be exported when
    including libintl.h */
 #include <locale.h>