mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Rename CONFIG_DEBUG to CONFIG_DEBUG_FEATURES
This commit is contained in:
+1
-1
@@ -87,7 +87,7 @@ void *operator new(unsigned int nbytes)
|
||||
|
||||
void *alloc = lib_malloc(nbytes);
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
if (alloc == 0)
|
||||
{
|
||||
// Oh my.. we are required to return a valid pointer and
|
||||
|
||||
@@ -87,7 +87,7 @@ void *operator new[](unsigned int nbytes)
|
||||
|
||||
void *alloc = lib_malloc(nbytes);
|
||||
|
||||
#ifdef CONFIG_DEBUG
|
||||
#ifdef CONFIG_DEBUG_FEATURES
|
||||
if (alloc == 0)
|
||||
{
|
||||
// Oh my.. we are required to return a valid pointer and
|
||||
|
||||
Reference in New Issue
Block a user