diff options
Diffstat (limited to 'libcxx/src/filesystem/operations.cpp')
-rw-r--r-- | libcxx/src/filesystem/operations.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/src/filesystem/operations.cpp b/libcxx/src/filesystem/operations.cpp index d0f0d5b..06efb72 100644 --- a/libcxx/src/filesystem/operations.cpp +++ b/libcxx/src/filesystem/operations.cpp @@ -1095,7 +1095,7 @@ void __create_symlink(path const& from, path const& to, error_code* ec) { path __current_path(error_code* ec) { ErrorHandler<path> err("current_path", ec); -#if defined(_LIBCPP_WIN32API) +#if defined(_LIBCPP_WIN32API) || defined(__GLIBC__) || defined(__APPLE__) // Common extension outside of POSIX getcwd() spec, without needing to // preallocate a buffer. Also supported by a number of other POSIX libcs. int size = 0; |