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:
Eric Fiselier
2015-11-06 06:30:12 +00:00
parent 970a9e5866
commit 38e7a30143
6 changed files with 24 additions and 3 deletions

View File

@@ -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