mirror of
https://github.com/NixOS/nix.git
synced 2025-12-16 05:51:05 +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,9 +1,10 @@
|
|||
#include <ioapiset.h>
|
||||
#include "windows-error.hh"
|
||||
#ifdef WIN32
|
||||
# include <ioapiset.h>
|
||||
# include "windows-error.hh"
|
||||
|
||||
#include "logging.hh"
|
||||
#include "util.hh"
|
||||
#include "muxable-pipe.hh"
|
||||
# include "logging.hh"
|
||||
# include "util.hh"
|
||||
# include "muxable-pipe.hh"
|
||||
|
||||
namespace nix {
|
||||
|
||||
|
|
@ -68,3 +69,4 @@ void MuxablePipePollState::iterate(
|
|||
}
|
||||
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue