提交 d18a410b 编写于 作者: R Rich Felker

expose [v]asprintf under _BSD_SOURCE

reported/requested by Strake; simplified from the provided patch
上级 761ebe06
......@@ -175,11 +175,11 @@ int fileno_unlocked(FILE *);
int getw(FILE *);
int putw(int, FILE *);
char *fgetln(FILE *, size_t *);
int asprintf(char **, const char *, ...);
int vasprintf(char **, const char *, va_list);
#endif
#ifdef _GNU_SOURCE
int asprintf(char **, const char *, ...);
int vasprintf(char **, const char *, va_list);
char *fgets_unlocked(char *, int, FILE *);
int fputs_unlocked(const char *, FILE *);
#endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册