1999-05-14 16:32:07 +00:00
|
|
|
// The contents of this file are subject to the Mozilla Public License
|
1999-11-06 03:43:54 +00:00
|
|
|
// Version 1.1 (the "License"); you may not use this file except in
|
1999-05-14 16:32:07 +00:00
|
|
|
// compliance with the License. You may obtain a copy of the License
|
|
|
|
// at http://www.mozilla.org/MPL/
|
|
|
|
//
|
|
|
|
// Software distributed under the License is distributed on an "AS IS"
|
|
|
|
// basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
|
|
|
|
// the License for the specific language governing rights and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
// The Initial Developer of the Original Code is Kipp E.B. Hickman.
|
|
|
|
#ifndef config_h___
|
|
|
|
#define config_h___
|
|
|
|
|
1999-09-30 01:51:20 +00:00
|
|
|
#define MAX_STACK_CRAWL 200
|
1999-05-14 16:32:07 +00:00
|
|
|
|
|
|
|
#include <malloc.h>
|
|
|
|
|
1999-11-11 20:40:44 +00:00
|
|
|
#if defined(linux) || defined(NTO)
|
1999-05-14 16:32:07 +00:00
|
|
|
#define USE_BFD
|
|
|
|
#undef NEED_WRAPPERS
|
|
|
|
|
|
|
|
#define REAL_MALLOC(_x) __libc_malloc(_x)
|
|
|
|
#define REAL_REALLOC(_x,_y) __libc_realloc(_x,_y)
|
|
|
|
#define REAL_FREE(_x) __libc_free(_x)
|
|
|
|
|
|
|
|
extern "C" {
|
|
|
|
void* __libc_malloc(size_t);
|
|
|
|
void* __libc_realloc(void*, size_t);
|
|
|
|
void __libc_free(void*);
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* linux */
|
|
|
|
|
|
|
|
#endif /* config_h___ */
|