Commit 16bfab40 authored by Kenton Varda's avatar Kenton Varda

Adjust windows.h include in kj/main.c++.

parent ffc74bbc
...@@ -30,9 +30,12 @@ ...@@ -30,9 +30,12 @@
#include <limits.h> #include <limits.h>
#if _WIN32 #if _WIN32
#define NOMINMAX #define WIN32_LEAN_AND_MEAN
#ifndef NOMINMAX
#define NOMINMAX 1
#endif
#include <windows.h> #include <windows.h>
#undef NOMINMAX #include "windows-sanity.h"
#else #else
#include <sys/uio.h> #include <sys/uio.h>
#endif #endif
......
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