guard NOMINMAX definition (windows)

This commit is contained in:
Phil Nash 2013-06-29 20:31:17 +01:00
parent cd688300b0
commit 4b5e008b20
5 changed files with 11 additions and 7 deletions

View File

@ -1,6 +1,6 @@
![catch logo](catch-logo-small.png)
*v1.0 build 2 (master branch)*
*v1.0 build 3 (master branch)*
# New release with significant changes

View File

@ -19,7 +19,9 @@ namespace Catch { namespace Detail {
#if defined ( CATCH_PLATFORM_WINDOWS ) /////////////////////////////////////////
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
namespace Catch {

View File

@ -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

View File

@ -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
-------------------------------------------------------------------------------

View File

@ -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