catch_windows_h_proxy.h 966 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. #ifndef TWOBLUECUBES_CATCH_WINDOWS_H_PROXY_H_INCLUDED
  8. #define TWOBLUECUBES_CATCH_WINDOWS_H_PROXY_H_INCLUDED
  9. #include "catch_platform.h"
  10. #if defined(CATCH_PLATFORM_WINDOWS)
  11. #if !defined(NOMINMAX) && !defined(CATCH_CONFIG_NO_NOMINMAX)
  12. # define CATCH_DEFINED_NOMINMAX
  13. # define NOMINMAX
  14. #endif
  15. #if !defined(WIN32_LEAN_AND_MEAN) && !defined(CATCH_CONFIG_NO_WIN32_LEAN_AND_MEAN)
  16. # define CATCH_DEFINED_WIN32_LEAN_AND_MEAN
  17. # define WIN32_LEAN_AND_MEAN
  18. #endif
  19. #ifdef __AFXDLL
  20. #include <AfxWin.h>
  21. #else
  22. #include <windows.h>
  23. #endif
  24. #ifdef CATCH_DEFINED_NOMINMAX
  25. # undef NOMINMAX
  26. #endif
  27. #ifdef CATCH_DEFINED_WIN32_LEAN_AND_MEAN
  28. # undef WIN32_LEAN_AND_MEAN
  29. #endif
  30. #endif // defined(CATCH_PLATFORM_WINDOWS)
  31. #endif // TWOBLUECUBES_CATCH_WINDOWS_H_PROXY_H_INCLUDED