Merge pull request #6147 from miri64/2016.10/core/fix/assert-stdio-include

core: fix stdio.h include for assert
This commit is contained in:
Cenk Gündoğan 2016-11-29 19:58:44 +01:00 committed by GitHub
commit 21cf0f5939
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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
* *