mirror of
https://github.com/NixOS/nix
synced 2025-07-05 08:11:47 +02:00
Fix undefined macro errors
This commit is contained in:
parent
cf5e59911b
commit
77b4bb74d5
3 changed files with 3 additions and 3 deletions
|
@ -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 can’t force processes from executing
|
||||
// x86_64 in aarch64 environments or vice versa since they can
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue