mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
Merge pull request #14162 from NixOS/fix-windows-build
Don't build getPtsName() on Windows
This commit is contained in:
commit
35b3557fe4
1 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue