1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

Don't build MonitorFdHup on Windows

https://hydra.nixos.org/build/295398462
(cherry picked from commit a9b6213221)
This commit is contained in:
Eelco Dolstra 2025-04-23 17:50:45 +02:00 committed by Mergify
parent 70921714cb
commit d3c79e2b13

View file

@ -1,8 +1,10 @@
#include "nix/util/util.hh" #ifndef _WIN32
#include "nix/util/monitor-fd.hh"
#include <sys/file.h> # include "nix/util/util.hh"
#include <gtest/gtest.h> # include "nix/util/monitor-fd.hh"
# include <sys/file.h>
# include <gtest/gtest.h>
namespace nix { namespace nix {
TEST(MonitorFdHup, shouldNotBlock) TEST(MonitorFdHup, shouldNotBlock)
@ -16,3 +18,5 @@ TEST(MonitorFdHup, shouldNotBlock)
} }
} }
} }
#endif