提交 a53cb070 编写于 作者: R Richard Levitte

When using POSIXly functions, we need to define _POSIX_C_SOURCE, at

least when the source is compiled with ANSI settings.
上级 452ae49d
......@@ -109,6 +109,10 @@
*
*/
#define _POSIX_C_SOURCE 2 /* On VMS, you need to define this to get
the declaration of fileno(). The value
2 is to make sure no function defined
in POSIX-2 is left undefined. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册