mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	guard NOMINMAX definition (windows)
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
*v1.0 build 2 (master branch)*
 | 
			
		||||
*v1.0 build 3 (master branch)*
 | 
			
		||||
 | 
			
		||||
# New release with significant changes
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,9 @@ namespace Catch { namespace Detail {
 | 
			
		||||
 | 
			
		||||
#if defined ( CATCH_PLATFORM_WINDOWS ) /////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
#ifndef NOMINMAX
 | 
			
		||||
#define NOMINMAX
 | 
			
		||||
#endif
 | 
			
		||||
#include <windows.h>
 | 
			
		||||
 | 
			
		||||
namespace Catch {
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@
 | 
			
		||||
namespace Catch {
 | 
			
		||||
 | 
			
		||||
    // These numbers are maintained by a script
 | 
			
		||||
    Version libraryVersion( 1, 0, 2, "master" );
 | 
			
		||||
    Version libraryVersion( 1, 0, 3, "master" );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#endif // TWOBLUECUBES_CATCH_VERSION_HPP_INCLUDED
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
 | 
			
		||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
			
		||||
CatchSelfTest is a Catch v1.0 b2 host application.
 | 
			
		||||
CatchSelfTest is a Catch v1.0 b3 host application.
 | 
			
		||||
Run with -? for options
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
@@ -682,7 +682,7 @@ with expansion:
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 | 
			
		||||
CatchSelfTest is a Catch v1.0 b2 host application.
 | 
			
		||||
CatchSelfTest is a Catch v1.0 b3 host application.
 | 
			
		||||
Run with -? for options
 | 
			
		||||
 | 
			
		||||
-------------------------------------------------------------------------------
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
/*
 | 
			
		||||
 *  CATCH v1.0 build 2 (master branch)
 | 
			
		||||
 *  Generated: 2013-06-29 12:10:25.613092
 | 
			
		||||
 *  CATCH v1.0 build 3 (master branch)
 | 
			
		||||
 *  Generated: 2013-06-29 20:29:59.351244
 | 
			
		||||
 *  ----------------------------------------------------------
 | 
			
		||||
 *  This file has been merged from multiple headers. Please don't edit it directly
 | 
			
		||||
 *  Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
 | 
			
		||||
@@ -5738,7 +5738,9 @@ namespace Catch { namespace Detail {
 | 
			
		||||
 | 
			
		||||
#if defined ( CATCH_PLATFORM_WINDOWS ) /////////////////////////////////////////
 | 
			
		||||
 | 
			
		||||
#ifndef NOMINMAX
 | 
			
		||||
#define NOMINMAX
 | 
			
		||||
#endif
 | 
			
		||||
#include <windows.h>
 | 
			
		||||
 | 
			
		||||
namespace Catch {
 | 
			
		||||
@@ -6224,7 +6226,7 @@ namespace Catch {
 | 
			
		||||
namespace Catch {
 | 
			
		||||
 | 
			
		||||
    // These numbers are maintained by a script
 | 
			
		||||
    Version libraryVersion( 1, 0, 2, "master" );
 | 
			
		||||
    Version libraryVersion( 1, 0, 3, "master" );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// #included from: catch_text.hpp
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user