Cleanup foo.h headers and __config to work in C
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@252274 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -34,8 +34,12 @@ void longjmp(jmp_buf env, int val);
|
||||
|
||||
#include_next <setjmp.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
#ifndef setjmp
|
||||
#define setjmp(env) setjmp(env)
|
||||
#endif
|
||||
|
||||
#endif // __cplusplus
|
||||
|
||||
#endif // _LIBCPP_SETJMP_H
|
||||
|
||||
Reference in New Issue
Block a user