mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-06 00:55:37 +00:00
36 lines
986 B
C
36 lines
986 B
C
// The contents of this file are subject to the Mozilla Public License
|
|
// Version 1.0 (the "License"); you may not use this file except in
|
|
// 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___
|
|
|
|
#define MAX_STACK_CRAWL 200
|
|
|
|
#include <malloc.h>
|
|
|
|
#ifdef linux
|
|
#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___ */
|