mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Add OFF_MIN and OFF_MAX.
This commit is contained in:
parent
5ebf7a3c88
commit
5ad26d68a3
3 changed files with 10 additions and 0 deletions
|
@ -38,3 +38,9 @@
|
|||
#warning Unsupported platform
|
||||
#endif
|
||||
|
||||
#if (defined(SORTIX_KERNEL) || defined(LIBC_LIBRARY)) && !defined(OFF_MIN)
|
||||
#define OFF_MIN __OFF_MIN
|
||||
#endif
|
||||
#if (defined(SORTIX_KERNEL) || defined(LIBC_LIBRARY)) && !defined(OFF_MAX)
|
||||
#define OFF_MAX __OFF_MAX
|
||||
#endif
|
||||
|
|
|
@ -138,6 +138,8 @@ typedef int __uid_t;
|
|||
typedef int __locale_t; /* TODO: figure out what this does and typedef it properly. This is just a temporary assignment. */
|
||||
typedef unsigned int __mode_t;
|
||||
typedef __intmax_t __off_t;
|
||||
#define __OFF_MIN __INTMAX_MIN
|
||||
#define __OFF_MAX __INTMAX_MAX
|
||||
typedef unsigned int __wctrans_t; /* TODO: figure out what this does and typedef it properly. This is just a temporary assignment. */
|
||||
typedef unsigned int __wctype_t; /* TODO: figure out what this does and typedef it properly. This is just a temporary assignment. */
|
||||
typedef unsigned int __useconds_t;
|
||||
|
|
|
@ -138,6 +138,8 @@ typedef int __uid_t;
|
|||
typedef int __locale_t; /* TODO: figure out what this does and typedef it properly. This is just a temporary assignment. */
|
||||
typedef unsigned int __mode_t;
|
||||
typedef __intmax_t __off_t;
|
||||
#define __OFF_MIN __INTMAX_MIN
|
||||
#define __OFF_MAX __INTMAX_MAX
|
||||
typedef unsigned int __wctrans_t; /* TODO: figure out what this does and typedef it properly. This is just a temporary assignment. */
|
||||
typedef unsigned int __wctype_t; /* TODO: figure out what this does and typedef it properly. This is just a temporary assignment. */
|
||||
typedef unsigned int __useconds_t;
|
||||
|
|
Loading…
Reference in a new issue