aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flsupport.h
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/flsupport.h')
-rw-r--r--externals/grill/flext/source/flsupport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h
index 79122ed2..d2a8cb90 100644
--- a/externals/grill/flext/source/flsupport.h
+++ b/externals/grill/flext/source/flsupport.h
@@ -69,7 +69,7 @@ public:
//! @} FLEXT_S_MEMORY
};
-
+#ifndef FLEXT_NOGLOBALNEW
/************************************************************************/
// MFC doesn't like global overloading of allocators
// anyway, who likes MFC
@@ -90,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 // FLEXT_NOGLOBALNEW
+
/************************************************************************/