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/errno.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/errno.h')
| -rw-r--r-- | libcxx/include/errno.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/errno.h b/libcxx/include/errno.h index 556ef6112ec..ee6429110cc 100644 --- a/libcxx/include/errno.h +++ b/libcxx/include/errno.h @@ -31,6 +31,8 @@ Macros: #include_next <errno.h> +#ifdef __cplusplus + #if !defined(EOWNERDEAD) || !defined(ENOTRECOVERABLE) #ifdef ELAST @@ -391,4 +393,6 @@ static const int __elast2 = 105; #define EMLINK 9979 #endif +#endif // __cplusplus + #endif // _LIBCPP_ERRNO_H |

