提交 71e6be64 编写于 作者: R Rich Felker

change errno to static linkage (improves PIC code generation)

上级 8cd48f09
#include <errno.h>
#include "libc.h"
#undef errno
int errno;
int *__errno_location(void)
{
static int e;
if (libc.errno_location) return libc.errno_location();
return &errno;
return &e;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册