[ros-diffs] [gedmurphy] 43831: undef min & max so they don't override the numeric_limits template methods
gedmurphy at svn.reactos.org
gedmurphy at svn.reactos.org
Thu Oct 29 19:54:22 CET 2009
Author: gedmurphy
Date: Thu Oct 29 19:54:21 2009
New Revision: 43831
URL: http://svn.reactos.org/svn/reactos?rev=43831&view=rev
Log:
undef min & max so they don't override the numeric_limits template methods
Modified:
trunk/reactos/tools/rbuild/backend/mingw/mstools_detection.cpp
Modified: trunk/reactos/tools/rbuild/backend/mingw/mstools_detection.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/rbuild/backend/mingw/mstools_detection.cpp?rev=43831&r1=43830&r2=43831&view=diff
==============================================================================
--- trunk/reactos/tools/rbuild/backend/mingw/mstools_detection.cpp [iso-8859-1] (original)
+++ trunk/reactos/tools/rbuild/backend/mingw/mstools_detection.cpp [iso-8859-1] Thu Oct 29 19:54:21 2009
@@ -21,6 +21,8 @@
#define UNICODE
#define _UNICODE
+#define NOMINMAX
+
#include "../../pch.h"
#include "mingw.h"
@@ -57,6 +59,8 @@
#else
#error Unknown or unsupported C++ standard library
#endif
+
+
namespace
{
More information about the Ros-diffs
mailing list