From c7f2c658a01cb0f8126f7d2f9775363d53af8d8f Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Mon, 22 Apr 2013 07:28:16 -0700 Subject: [PATCH] Check if format.h compiles with windows.h included --- format_test.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/format_test.cc b/format_test.cc index c8cb182e..62dff019 100644 --- a/format_test.cc +++ b/format_test.cc @@ -33,6 +33,12 @@ #include #include #include + +// Check if format.h compiles with windows.h included. +#ifdef WIN32 +# include +#endif + #include "format.h" #include