1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Move OFF_MIN and OFF_MAX to <sys/types.h>.

This commit is contained in:
Jonas 'Sortie' Termansen 2013-12-29 23:12:32 +01:00
parent 823d3a3e2f
commit d5241349cc
3 changed files with 6 additions and 7 deletions

View file

@ -22,6 +22,8 @@
*******************************************************************************/
#include <sys/types.h>
#include <errno.h>
#include <stddef.h>
#include <stdint.h>

View file

@ -82,13 +82,6 @@ typedef __uint64_t __uid_t;
typedef unsigned int __useconds_t;
#if defined(__is_sortix_kernel) || defined(__is_sortix_libc)
#define OFF_MIN __OFF_MIN
#endif
#if defined(__is_sortix_kernel) || defined(__is_sortix_libc)
#define OFF_MAX __OFF_MAX
#endif
__END_DECLS
#endif

View file

@ -99,6 +99,10 @@ typedef __nlink_t nlink_t;
#define __off_t_defined
typedef __off_t off_t;
#endif
#if defined(__is_sortix_kernel) || defined(__is_sortix_libc)
#define OFF_MIN __OFF_MIN
#define OFF_MAX __OFF_MAX
#endif
#ifndef __pid_t_defined
#define __pid_t_defined