1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-15 06:52:43 +01:00

Fix undefined macro errors

(cherry picked from commit 77b4bb74d5)
This commit is contained in:
Robert Hensing 2025-04-06 17:43:10 +02:00 committed by Mergify
parent 1b119ded3a
commit 3bb46b73a8
3 changed files with 3 additions and 3 deletions

View file

@ -209,7 +209,7 @@ StringSet Settings::getDefaultExtraPlatforms()
StringSet levels = computeLevels();
for (auto iter = levels.begin(); iter != levels.end(); ++iter)
extraPlatforms.insert(*iter + "-linux");
#elif __APPLE__
#elif defined(__APPLE__)
// Rosetta 2 emulation layer can run x86_64 binaries on aarch64
// machines. Note that we cant force processes from executing
// x86_64 in aarch64 environments or vice versa since they can