]> git.pld-linux.org Git - packages/Firebird.git/blame - Firebird-gcc-icu.patch
- release 2
[packages/Firebird.git] / Firebird-gcc-icu.patch
CommitLineData
4b0d1512 1# Author: Adriano dos Santos Fernandes
2#Index: src/common/classes/alloc.h
3#===================================================================
4#RCS file: /cvsroot/firebird/firebird2/src/common/classes/alloc.h,v
5#retrieving revision 1.71
6diff -u -p -r1.71 alloc.h
7--- src/common/classes/alloc.h 26 Sep 2007 17:48:20 -0000 1.71
8+++ src/common/classes/alloc.h 20 May 2009 02:20:08 -0000
9@@ -47,6 +47,7 @@
10 #include <stdlib.h> /* XPG: prototypes for malloc/free have to be in
11 stdlib.h (EKU) */
12 #endif
13+#include <new>
14
15 #ifdef _MSC_VER
16 #define THROW_BAD_ALLOC
17@@ -448,15 +449,6 @@ inline void* operator new[](size_t s) TH
18 );
19 }
20
21-inline void* operator new(size_t, void* ptr) throw()
22-{
23- return ptr;
24-}
25-inline void* operator new[](size_t, void* ptr) throw()
26-{
27- return ptr;
28-}
29-
30 inline void operator delete(void* mem) throw()
31 {
32 Firebird::MemoryPool::globalFree(mem);
This page took 0.039887 seconds and 4 git commands to generate.