From 7d38263d711d5ddfbae441b1c606b660f700a051 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Mon, 17 Sep 2018 20:25:13 +0300 Subject: [PATCH] Add an empty main() in win32_hresult_test when not on Windows --- test/win32_hresult_test.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/win32_hresult_test.cpp b/test/win32_hresult_test.cpp index 1b7d7da..b79c51d 100644 --- a/test/win32_hresult_test.cpp +++ b/test/win32_hresult_test.cpp @@ -10,14 +10,15 @@ #include #include -#include #if !defined(BOOST_WINDOWS_API) BOOST_PRAGMA_MESSAGE( "Skipping test, BOOST_WINDOWS_API is not defined" ) +int main() {} #else +#include #include int main()