Skip to content

Commit 0e4ed54

Browse files
committed
Fix macOS build
1 parent 5421f5c commit 0e4ed54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libexpr/eval-gc.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ static size_t getFreeMem()
3838
{
3939
/* On Linux, use the `MemAvailable` or `MemFree` fields from
4040
/proc/cpuinfo. */
41-
# if __linux__
41+
# ifdef __linux__
4242
{
4343
std::unordered_map<std::string, std::string> fields;
4444
for (auto & line :

0 commit comments

Comments
 (0)