Skip to content

Commit 0b62658

Browse files
committed
simplify condition for ABSL_INTERNAL_STD_FILESYSTEM_PATH_HASH_AVAILABLE
1 parent fe126c7 commit 0b62658

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

absl/hash/internal/hash.h

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -682,12 +682,7 @@ H AbslHashValue(H hash_state, std::basic_string_view<Char> str) {
682682
return H::combine_contiguous(std::move(hash_state), str.data(), str.size());
683683
}
684684

685-
#if defined(__cpp_lib_filesystem) && __cpp_lib_filesystem >= 201703L && \
686-
(!defined(__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__) || \
687-
__ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__ >= 130000) && \
688-
(!defined(__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__) || \
689-
__ENVIRONMENT_MAC_OS_X_VERSION_MIN_REQUIRED__ >= 101500) && \
690-
(!defined(__XTENSA__))
685+
#if !defined(__XTENSA__)
691686

692687
#define ABSL_INTERNAL_STD_FILESYSTEM_PATH_HASH_AVAILABLE 1
693688

0 commit comments

Comments
 (0)