Commit 5e343000 authored by Harris Hancock's avatar Harris Hancock

Constrain windows.h to solve build errors

parent 669469ca
......@@ -30,7 +30,9 @@
#include <limits.h>
#if _WIN32
#define NOMINMAX
#include <windows.h>
#undef NOMINMAX
#else
#include <sys/uio.h>
#endif
......
......@@ -25,7 +25,9 @@
#include <kj/compat/gtest.h>
#if _WIN32
#define NOGDI // NOGDI is needed to make EXPECT_EQ(123u, *lock) compile for some reason
#include <windows.h>
#undef NOGDI
#else
#include <pthread.h>
#include <unistd.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment