From 995cb2bd4ac4019197f61b4834681239eb5bbdeb Mon Sep 17 00:00:00 2001 From: music_dev Date: Sat, 14 Dec 2002 02:51:53 +0000 Subject: [PATCH] Added compatibility for MSVC.NET --- eo/src/utils/compatibility.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eo/src/utils/compatibility.h b/eo/src/utils/compatibility.h index 4d2f856e..0bab1f08 100644 --- a/eo/src/utils/compatibility.h +++ b/eo/src/utils/compatibility.h @@ -38,12 +38,13 @@ #endif #endif -#ifdef _MSC_VER +#if defined(_MSC_VER) && (_MSC_VER < 1300) /* Maarten: added this code here because Mirkosoft has the nasty habit of #define min and max in stdlib.h (and windows.h) I'm trying to undo this horrible macro magic (microsoft yet macrohard) here. Sure hope it works +Olivier: this has been removed in .NET :) One step more standard... */ #pragma warning(disable:4786)