mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
Added a #error line to check that FreeRTOS.h is included before one of the subordinate header files.
This commit is contained in:
parent
cb12d3a973
commit
172114c49f
4 changed files with 24 additions and 4 deletions
|
@ -46,6 +46,14 @@
|
|||
http://www.OpenRTOS.com - Commercial support, development, porting,
|
||||
licensing and training services.
|
||||
*/
|
||||
|
||||
#ifndef INC_FREERTOS_H
|
||||
#error #error "#include FreeRTOS.h" must appear in source files before "#include croutine.h"
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
#ifndef CO_ROUTINE_H
|
||||
#define CO_ROUTINE_H
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue