mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 12:36:01 +01:00
Make sure we have an execvpe on Windows too
Necessary to fix a build (that was already broken in other ways) after PR #11021.
This commit is contained in:
parent
88998fae74
commit
dbabfc92d4
5 changed files with 20 additions and 5 deletions
|
|
@ -1,13 +0,0 @@
|
|||
#pragma once
|
||||
|
||||
namespace nix {
|
||||
|
||||
/**
|
||||
* `execvpe` is a GNU extension, so we need to implement it for other POSIX
|
||||
* platforms.
|
||||
*
|
||||
* We use our own implementation unconditionally for consistency.
|
||||
*/
|
||||
int execvpe(const char * file0, char * const argv[], char * const envp[]);
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue