提交 5e25d87b 编写于 作者: R Rich Felker

remove macro definition of longjmp from setjmp.h

the C standard specifies that setjmp is a macro, but longjmp is a
normal function. a macro version of it would be permitted (albeit
useless) for C (not C++), but would have to be a function-like macro,
not an object-like one.
上级 5d1c8c99
......@@ -33,7 +33,6 @@ int setjmp (jmp_buf);
_Noreturn void longjmp (jmp_buf, int);
#define setjmp setjmp
#define longjmp longjmp
#ifdef __cplusplus
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册