mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 03:56:01 +01:00
Merge pull request #13491 from Mic92/clang-tidy-windows-fixes
Fix Windows header inclusions for clang-tidy
This commit is contained in:
commit
32a11a64c1
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
|
#ifdef _WIN32
|
||||||
|
# include "nix/util/windows-async-pipe.hh"
|
||||||
|
# include "nix/util/windows-error.hh"
|
||||||
|
|
||||||
namespace nix::windows {
|
namespace nix::windows {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,5 @@
|
||||||
#include "nix/util/windows-error.hh"
|
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
#include "nix/util/windows-error.hh"
|
||||||
#include <error.h>
|
#include <error.h>
|
||||||
#define WIN32_LEAN_AND_MEAN
|
#define WIN32_LEAN_AND_MEAN
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue