1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-08 19:46:02 +01:00

Don't build getPtsName() on Windows

It's not needed.

https://hydra.nixos.org/build/309215536
This commit is contained in:
Eelco Dolstra 2025-10-06 13:25:33 +02:00
parent 5e65584edf
commit 8aa0acb9e8

View file

@ -179,6 +179,7 @@ std::pair<unsigned short, unsigned short> getWindowSize()
return *windowSize.lock();
}
#ifndef _WIN32
std::string getPtsName(int fd)
{
# ifdef __APPLE__
@ -203,5 +204,6 @@ std::string getPtsName(int fd)
return buf;
# endif
}
#endif
} // namespace nix