core: fix stdio.h include for assert
This commit is contained in:
parent
711415360f
commit
8406164ece
@ -13,6 +13,8 @@
|
|||||||
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
|
* @author Martine Lenders <mlenders@inf.fu-berlin.de>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#include "assert.h"
|
#include "assert.h"
|
||||||
|
|
||||||
#ifdef DEBUG_ASSERT_VERBOSE
|
#ifdef DEBUG_ASSERT_VERBOSE
|
||||||
|
|||||||
@ -54,8 +54,6 @@ extern const char assert_crash_message[];
|
|||||||
#ifdef NDEBUG
|
#ifdef NDEBUG
|
||||||
#define assert(ignore)((void) 0)
|
#define assert(ignore)((void) 0)
|
||||||
#elif defined(DEBUG_ASSERT_VERBOSE)
|
#elif defined(DEBUG_ASSERT_VERBOSE)
|
||||||
#include <stdio.h>
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Function to handle failed assertion
|
* @brief Function to handle failed assertion
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user