mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -04:00
queue.c: Change some asserts into conditionals and improve overflow checks (#328)
This commit is contained in:
parent
a1b918c1aa
commit
8e2f723996
2 changed files with 123 additions and 92 deletions
|
@ -49,4 +49,8 @@ typedef unsigned short uint16_t;
|
|||
typedef long int32_t;
|
||||
typedef unsigned long uint32_t;
|
||||
|
||||
#ifndef SIZE_MAX
|
||||
#define SIZE_MAX ( ( size_t ) -1 )
|
||||
#endif
|
||||
|
||||
#endif /* FREERTOS_STDINT */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue