1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-06 09:11:47 +02:00

Totally exclude nix::setStackSize on Windows

This commit is contained in:
Brian McKenna 2025-01-31 21:11:45 +11:00
parent b644e5750e
commit 7c8c71f8e9
3 changed files with 7 additions and 2 deletions

View file

@ -17,10 +17,13 @@ namespace nix {
*/
unsigned int getMaxCPU();
// It does not seem possible to dynamically change stack size on Windows.
#ifndef _WIN32
/**
* Change the stack size.
*/
void setStackSize(size_t stackSize);
#endif
/**
* Restore the original inherited Unix process context (such as signal