Skip to content

Commit

Permalink
[magenta] Add macros for max mx_size_t and mx_ssize_t
Browse files Browse the repository at this point in the history
Change-Id: I4698b474f8da61d0389d2447bc094f8379ef64cf
  • Loading branch information
tkilbourn committed Oct 31, 2016
1 parent ad18c96 commit 65d4574
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/public/magenta/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ typedef uintptr_t mx_paddr_t;
// size
typedef uintptr_t mx_size_t;
typedef intptr_t mx_ssize_t;
#define MX_SIZE_MAX UINTPTR_MAX
#define MX_SSIZE_MAX INTPTR_MAX

// offset
typedef uint64_t mx_off_t;
Expand Down

0 comments on commit 65d4574

Please sign in to comment.