Skip to content

Commit ddd50d9

Browse files
authored
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
1 parent 97acc2e commit ddd50d9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

portable/MPLAB/PIC24_dsPIC/portmacro.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ extern "C" {
5151
#define portSHORT short
5252
#define portSTACK_TYPE uint16_t
5353
#define portBASE_TYPE short
54+
#define portPOINTER_SIZE_TYPE size_t
55+
#define SIZE_MAX ( ( size_t ) -1 )
5456

5557
typedef portSTACK_TYPE StackType_t;
5658
typedef short BaseType_t;

0 commit comments

Comments
 (0)