diff options
author | Eric Fiselier <eric@efcs.ca> | 2015-11-06 06:30:12 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2015-11-06 06:30:12 +0000 |
commit | 60506cbcd48a905950971f7211ceef1867aa25c8 (patch) | |
tree | 08e371a8c5c60b78eff4830366227c954f3c7cad /libcxx/include/stdlib.h | |
parent | 6578f001bfb334feba06085d83bb41b18a05b35e (diff) | |
download | bcm5719-llvm-60506cbcd48a905950971f7211ceef1867aa25c8.tar.gz bcm5719-llvm-60506cbcd48a905950971f7211ceef1867aa25c8.zip |
Cleanup foo.h headers and __config to work in C
llvm-svn: 252274
Diffstat (limited to 'libcxx/include/stdlib.h')
-rw-r--r-- | libcxx/include/stdlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/stdlib.h b/libcxx/include/stdlib.h index 919faa169b7..12fd676a15f 100644 --- a/libcxx/include/stdlib.h +++ b/libcxx/include/stdlib.h @@ -94,6 +94,7 @@ void *aligned_alloc(size_t alignment, size_t size); // C11 #include_next <stdlib.h> #ifdef __cplusplus + extern "C++" { #ifdef _LIBCPP_MSVCRT @@ -123,6 +124,7 @@ inline _LIBCPP_INLINE_VISIBILITY lldiv_t div(long long __x, long long __y) _NOEX #endif // _LIBCPP_MSVCRT / __sun__ / _AIX } // extern "C++" + #endif // __cplusplus #endif // _LIBCPP_STDLIB_H |