* cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.
This commit is contained in:
parent
59e3b6ca7d
commit
5155321fbc
@ -1,3 +1,7 @@
|
|||||||
|
2007-02-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.
|
||||||
|
|
||||||
2007-02-07 Corinna Vinschen <corinna@vinschen.de>
|
2007-02-07 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.
|
* cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.
|
||||||
|
@ -23,9 +23,9 @@ int dlmallopt (int p, int v) __attribute__ ((regparm (2)));
|
|||||||
void dlmalloc_stats ();
|
void dlmalloc_stats ();
|
||||||
|
|
||||||
#ifndef __INSIDE_CYGWIN__
|
#ifndef __INSIDE_CYGWIN__
|
||||||
|
# define MALLOC_FAILURE_ACTION
|
||||||
# define USE_DL_PREFIX 1
|
# define USE_DL_PREFIX 1
|
||||||
#else
|
#else
|
||||||
#define MALLOC_FAILURE_ACTION
|
|
||||||
# define __malloc_lock() mallock.acquire ()
|
# define __malloc_lock() mallock.acquire ()
|
||||||
# define __malloc_unlock() mallock.release ()
|
# define __malloc_unlock() mallock.release ()
|
||||||
extern muto mallock;
|
extern muto mallock;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user