mirror of
https://github.com/NixOS/nix.git
synced 2025-11-17 16:02:43 +01:00
libutil/windows: only define headers/code if we are actually on windows
all those includes otherwise break linters.
This commit is contained in:
parent
b9bbdbeb0b
commit
eda331e53f
13 changed files with 43 additions and 12 deletions
|
|
@ -1,6 +1,7 @@
|
|||
#include "environment-variables.hh"
|
||||
|
||||
#include "processenv.h"
|
||||
#ifdef WIN32
|
||||
# include "processenv.h"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
@ -43,3 +44,4 @@ int setEnvOs(const OsString & name, const OsString & value)
|
|||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue