0ec9572a95
Firebird is a relational database offering many ANSI SQL-99 features that runs on Linux, Windows, and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names since 1981. Firebird is completely free of any registration, licensing or deployment fees. It may be deployed freely for use with any third-party software, whether commercial or not. WWW: http://sourceforge.net/projects/firebird/ WWW: http://www.firebirdsql.org/ PR: 152402 Submitted by: Max Kochubey <root at hangover.org.ru>
26 lines
594 B
C
26 lines
594 B
C
--- src/common/classes/alloc.h 2010-12-18 19:21:49.000000000 -0500
|
|
+++ src/common/classes/alloc.h 2010-12-18 19:23:30.000000000 -0500
|
|
@@ -47,6 +47,7 @@
|
|
#include <stdlib.h> /* XPG: prototypes for malloc/free have to be in
|
|
stdlib.h (EKU) */
|
|
#endif
|
|
+#include <new>
|
|
|
|
#ifdef _MSC_VER
|
|
#define THROW_BAD_ALLOC
|
|
@@ -448,15 +449,6 @@
|
|
);
|
|
}
|
|
|
|
-inline void* operator new(size_t, void* ptr) throw()
|
|
-{
|
|
- return ptr;
|
|
-}
|
|
-inline void* operator new[](size_t, void* ptr) throw()
|
|
-{
|
|
- return ptr;
|
|
-}
|
|
-
|
|
inline void operator delete(void* mem) throw()
|
|
{
|
|
Firebird::MemoryPool::globalFree(mem);
|