mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 21:11:57 -04:00
Define (U)BaseType_t to 64-bit types on Windows (#715)
Define (U)BaseType_t to 64-bit types on Windows This ensures that BaseType_t and UBaseType_t are correctly defined to 64-bit types on 64-bit Windows. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
ae3a498e43
commit
a33ba8e646
|
@ -42,12 +42,19 @@
|
|||
#define portLONG long
|
||||
#define portSHORT short
|
||||
#define portSTACK_TYPE size_t
|
||||
#define portBASE_TYPE long
|
||||
#define portPOINTER_SIZE_TYPE size_t
|
||||
|
||||
typedef portSTACK_TYPE StackType_t;
|
||||
|
||||
#if defined( __x86_64__) || defined( _M_X64 )
|
||||
#define portBASE_TYPE long long
|
||||
typedef long long BaseType_t;
|
||||
typedef unsigned long long UBaseType_t;
|
||||
#else
|
||||
#define portBASE_TYPE long
|
||||
typedef long BaseType_t;
|
||||
typedef unsigned long UBaseType_t;
|
||||
#endif
|
||||
|
||||
|
||||
#if( configTICK_TYPE_WIDTH_IN_BITS == TICK_TYPE_WIDTH_16_BITS )
|
||||
|
|
Loading…
Reference in a new issue