aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsupport.h
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2003-12-12 22:46:40 +0000
committerThomas Grill <xovo@users.sourceforge.net>2003-12-12 22:46:40 +0000
commit4ec3dfe8a29e5b3dd0a0dc7afa23b7da90ddb1d5 (patch)
tree5caaf1672794d69906dafd5c3bdf054b335fd24f /externals/grill/flext/source/flsupport.h
parentdd500deadc8cc4577a305a9f1fe438786671f9e6 (diff)
""
svn path=/trunk/; revision=1218
Diffstat (limited to 'externals/grill/flext/source/flsupport.h')
-rw-r--r--externals/grill/flext/source/flsupport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h
index 283466ac..c964c66e 100644
--- a/externals/grill/flext/source/flsupport.h
+++ b/externals/grill/flext/source/flsupport.h
@@ -69,6 +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
#if !defined(_MSC_VER) && !defined(__BORLANDC__)
#define NEWTHROW throw(std::bad_alloc)
@@ -86,6 +90,8 @@ 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);
typedef class FLEXT_CLASSDEF(flext) flext;