added portPOINTER_SIZE_TYPE and SIZE_MAX definition to PIC24/dsPIC port (#636)

* added portPOINTER_SIZE_TYPE definition to PIC24/dsPIC port

* Added SIZE_MAX definition to PIC24/dsPIC33
This commit is contained in:
Joseph Julicher 2023-03-03 19:01:16 -07:00 committed by GitHub
parent 97acc2e54a
commit ddd50d9a80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -51,6 +51,8 @@ extern "C" {
#define portSHORT short
#define portSTACK_TYPE uint16_t
#define portBASE_TYPE short
#define portPOINTER_SIZE_TYPE size_t
#define SIZE_MAX ( ( size_t ) -1 )
typedef portSTACK_TYPE StackType_t;
typedef short BaseType_t;