From 207ff3824e76c37ae513a8b4e53f04fd169c4334 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Fri, 23 Jan 2004 03:42:23 +0000 Subject: "" svn path=/trunk/; revision=1289 --- externals/grill/flext/source/flsupport.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'externals/grill/flext/source/flsupport.h') diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h index 3e2b6acd..79122ed2 100644 --- a/externals/grill/flext/source/flsupport.h +++ b/externals/grill/flext/source/flsupport.h @@ -2,7 +2,7 @@ flext - C++ layer for Max/MSP and pd (pure data) externals -Copyright (c) 2001-2003 Thomas Grill (xovo@gmx.net) +Copyright (c) 2001-2004 Thomas Grill (xovo@gmx.net) For information on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES, see the file, "license.txt," in this distribution. @@ -69,10 +69,10 @@ public: //! @} FLEXT_S_MEMORY }; -// at the moment it's a real problem that global overloading of allocators -// clashes with MFC (e.g. in vst~) -// therefore... try to think over it -#if 0 + +/************************************************************************/ +// MFC doesn't like global overloading of allocators +// anyway, who likes MFC #if !defined(_MSC_VER) && !defined(__BORLANDC__) #define NEWTHROW throw(std::bad_alloc) @@ -90,7 +90,7 @@ inline void *operator new[](size_t bytes) NEWTHROW { return flext_root::operator inline void operator delete[](void *blk) DELTHROW { flext_root::operator delete[](blk); } #endif -#endif +/************************************************************************/ class FLEXT_SHARE FLEXT_CLASSDEF(flext); -- cgit v1.2.1