diff options
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 |