OSDN Git Service

* cygmalloc.h (MALLOC_FAILURE_ACTION): Move to correct #if branch.
authorcorinna <corinna>
Wed, 7 Feb 2007 20:44:04 +0000 (20:44 +0000)
committercorinna <corinna>
Wed, 7 Feb 2007 20:44:04 +0000 (20:44 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/cygmalloc.h

index a1d3fc8..94ac756 100644 (file)
@@ -1,5 +1,9 @@
 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>
+
        * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty.
        * cygwin.din (posix_madvise): Export.
        (posix_memalign): Export.
index 40a80d5..5d38724 100644 (file)
@@ -23,9 +23,9 @@ int dlmallopt (int p, int v) __attribute__ ((regparm (2)));
 void dlmalloc_stats ();
 
 #ifndef __INSIDE_CYGWIN__
+# define MALLOC_FAILURE_ACTION
 # define USE_DL_PREFIX 1
 #else
-#define MALLOC_FAILURE_ACTION
 # define __malloc_lock() mallock.acquire ()
 # define __malloc_unlock() mallock.release ()
 extern muto mallock;