mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-23 19:09:27 +08:00
[Kernel] Fix the compiling issue for not including rtconfig.h file in rtdebug.h/rtdef.h
This commit is contained in:
@@ -21,6 +21,8 @@
|
|||||||
#ifndef __RTDEBUG_H__
|
#ifndef __RTDEBUG_H__
|
||||||
#define __RTDEBUG_H__
|
#define __RTDEBUG_H__
|
||||||
|
|
||||||
|
#include <rtconfig.h>
|
||||||
|
|
||||||
/* Using this macro to control all kernel debug features. */
|
/* Using this macro to control all kernel debug features. */
|
||||||
#ifdef RT_DEBUG
|
#ifdef RT_DEBUG
|
||||||
|
|
||||||
|
@@ -34,6 +34,8 @@
|
|||||||
#ifndef __RT_DEF_H__
|
#ifndef __RT_DEF_H__
|
||||||
#define __RT_DEF_H__
|
#define __RT_DEF_H__
|
||||||
|
|
||||||
|
#include <rtconfig.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user