queue.c: Change some asserts into conditionals and improve overflow checks (#328)

This commit is contained in:
Dan Good
2021-05-27 19:17:59 -04:00
committed by GitHub
parent a1b918c1aa
commit 8e2f723996
2 changed files with 123 additions and 92 deletions

View File

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