mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-25 23:06:10 +01:00
unconditional windows proxy
This commit is contained in:
parent
17cdf20968
commit
cc0b093c20
@ -62,10 +62,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CATCH_IMPL
|
#ifdef CATCH_IMPL
|
||||||
#ifdef CATCH_PLATFORM_WINDOWS
|
#include "internal/catch_windows_h_proxy.h"
|
||||||
#include "internal/catch_windows_h_proxy.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#include "internal/catch_impl.hpp"
|
#include "internal/catch_impl.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -11,14 +11,14 @@
|
|||||||
#include "catch_platform.h"
|
#include "catch_platform.h"
|
||||||
|
|
||||||
#if defined(CATCH_PLATFORM_WINDOWS)
|
#if defined(CATCH_PLATFORM_WINDOWS)
|
||||||
# if !defined(NOMINMAX) && !defined(CATCH_CONFIG_NO_NOMINMAX)
|
|
||||||
# define CATCH_DEFINED_NOMINMAX
|
#if !defined(NOMINMAX) && !defined(CATCH_CONFIG_NO_NOMINMAX)
|
||||||
# define NOMINMAX
|
# define CATCH_DEFINED_NOMINMAX
|
||||||
# endif
|
# define NOMINMAX
|
||||||
# if !defined(WIN32_LEAN_AND_MEAN) && !defined(CATCH_CONFIG_NO_WIN32_LEAN_AND_MEAN)
|
#endif
|
||||||
# define CATCH_DEFINED_WIN32_LEAN_AND_MEAN
|
#if !defined(WIN32_LEAN_AND_MEAN) && !defined(CATCH_CONFIG_NO_WIN32_LEAN_AND_MEAN)
|
||||||
# define WIN32_LEAN_AND_MEAN
|
# define CATCH_DEFINED_WIN32_LEAN_AND_MEAN
|
||||||
# endif
|
# define WIN32_LEAN_AND_MEAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __AFXDLL
|
#ifdef __AFXDLL
|
||||||
@ -34,5 +34,6 @@
|
|||||||
# undef WIN32_LEAN_AND_MEAN
|
# undef WIN32_LEAN_AND_MEAN
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif // defined(CATCH_PLATFORM_WINDOWS)
|
||||||
|
|
||||||
#endif // TWOBLUECUBES_CATCH_WINDOWS_H_PROXY_H_INCLUDED
|
#endif // TWOBLUECUBES_CATCH_WINDOWS_H_PROXY_H_INCLUDED
|
||||||
|
Loading…
Reference in New Issue
Block a user