Skip to content

Commit

Permalink
Define RAND_MAX and MB_CUR_MAX
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterymath committed Jan 14, 2024
1 parent 885708d commit 546bf8b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mos-platform/common/include/stdlib.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ extern "C" {
#define EXIT_SUCCESS 0
#define EXIT_FAILURE 1

#define RAND_MAX 32767

#define MB_CUR_MAX ((size_t)1)

void exit(int status);
__attribute__((leaf)) void abort(void);
__attribute__((leaf)) void _exit(int status);
Expand Down

0 comments on commit 546bf8b

Please sign in to comment.