Skip to content

Commit

Permalink
Fixed apple error.
Browse files Browse the repository at this point in the history
  • Loading branch information
bbuchfink committed Jul 5, 2021
1 parent c660eca commit 6c36e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/system/system.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ void unmap_file(char* ptr, size_t size, int fd) {
}

size_t l3_cache_size() {
#ifdef _MSC_VER
#if defined(_MSC_VER) || defined(__APPLE__)
return 0;
#else
const auto s = sysconf(_SC_LEVEL3_CACHE_SIZE);
Expand Down

0 comments on commit 6c36e55

Please sign in to comment.