Chromium Code Reviews| Index: base/debug/leak_tracker.h |
| diff --git a/base/debug/leak_tracker.h b/base/debug/leak_tracker.h |
| index e5f0cb1778bced31b0bd27fe4b0100438ba5d942..bb1cbc637c39efe94bd9b9cf51e52f855afe97d5 100644 |
| --- a/base/debug/leak_tracker.h |
| +++ b/base/debug/leak_tracker.h |
| @@ -5,8 +5,8 @@ |
| #ifndef BASE_DEBUG_LEAK_TRACKER_H_ |
| #define BASE_DEBUG_LEAK_TRACKER_H_ |
| -// Only enable leak tracking in debug builds. |
| -#ifndef NDEBUG |
| +// Only enable leak tracking in non-uClibc debug builds. |
| +#if !defined(NDEBUG) && !defined(__UCLIBC__) |
|
Mark Mentovai
2014/04/16 13:11:25
Nothing says __UCLIBC__ will be defined here in a
Mostyn Bramley-Moore
2014/04/16 23:20:14
Ahh, right.
In my local branch I have some addi
Mark Mentovai
2014/04/17 22:24:41
Mostyn Bramley-Moore wrote:
Mostyn Bramley-Moore
2014/04/17 22:35:33
I though about this a bit, but wasn't sure which s
|
| #define ENABLE_LEAK_TRACKER |
| #endif |