mirror of
https://github.com/NixOS/nix.git
synced 2025-12-06 00:51:00 +01:00
Fix Windows header inclusions for clang-tidy
Move windows-error.hh includes inside _WIN32 guards to prevent clang-tidy errors when analyzing these files on non-Windows platforms.
This commit is contained in:
parent
17c94ca89e
commit
6681933643
2 changed files with 4 additions and 4 deletions
|
|
@ -1,7 +1,8 @@
|
|||
#include "nix/util/windows-async-pipe.hh"
|
||||
#include "nix/util/windows-error.hh"
|
||||
|
||||
|
||||
#ifdef _WIN32
|
||||
# include "nix/util/windows-async-pipe.hh"
|
||||
# include "nix/util/windows-error.hh"
|
||||
|
||||
namespace nix::windows {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue