1 /* 2 * Created by Martin on 16/01/2017. 3 * 4 * Distributed under the Boost Software License, Version 1.0. (See accompanying 5 * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) 6 */ 7 8 #ifndef TWOBLUECUBES_CATCH_WINDOWS_H_PROXY_H_INCLUDED 9 #define TWOBLUECUBES_CATCH_WINDOWS_H_PROXY_H_INCLUDED 10 11 #include "catch_platform.h" 12 13 #if defined(CATCH_PLATFORM_WINDOWS) 14 15 #if !defined(NOMINMAX) && !defined(CATCH_CONFIG_NO_NOMINMAX) 16 # define CATCH_DEFINED_NOMINMAX 17 # define NOMINMAX 18 #endif 19 #if !defined(WIN32_LEAN_AND_MEAN) && !defined(CATCH_CONFIG_NO_WIN32_LEAN_AND_MEAN) 20 # define CATCH_DEFINED_WIN32_LEAN_AND_MEAN 21 # define WIN32_LEAN_AND_MEAN 22 #endif 23 24 #ifdef __AFXDLL 25 #include <AfxWin.h> 26 #else 27 #include <windows.h> 28 #endif 29 30 #ifdef CATCH_DEFINED_NOMINMAX 31 # undef NOMINMAX 32 #endif 33 #ifdef CATCH_DEFINED_WIN32_LEAN_AND_MEAN 34 # undef WIN32_LEAN_AND_MEAN 35 #endif 36 37 #endif // defined(CATCH_PLATFORM_WINDOWS) 38 39 #endif // TWOBLUECUBES_CATCH_WINDOWS_H_PROXY_H_INCLUDED 40