Initial commit
This commit is contained in:
parent
36cb297b57
commit
f7eead9bde
22 changed files with 621 additions and 35 deletions
|
@ -1,3 +1,14 @@
|
|||
/*
|
||||
* <sys/cdefs.h>
|
||||
*
|
||||
* This header is a part of the FENIX C Library and is free software.
|
||||
* You can redistribute and/or modify it subject to the terms of the
|
||||
* Clumsy Wolf Public License v4. For more details, see the file COPYING.
|
||||
*
|
||||
* The FENIX C Library is distributed WITH NO WARRANTY WHATSOEVER. See
|
||||
* The CWPL for more details.
|
||||
*/
|
||||
|
||||
#ifndef _SYS_CDEFS_H
|
||||
#define _SYS_CDEFS_H
|
||||
|
||||
|
|
|
@ -1,4 +1,90 @@
|
|||
/*
|
||||
* <sys/types.h> - data types
|
||||
*
|
||||
* This header is a part of the FENIX C Library and is free software.
|
||||
* You can redistribute and/or modify it subject to the terms of the
|
||||
* Clumsy Wolf Public License v4. For more details, see the file COPYING.
|
||||
*
|
||||
* The FENIX C Library is distributed WITH NO WARRANTY WHATSOEVER. See
|
||||
* The CWPL for more details.
|
||||
*/
|
||||
|
||||
#ifndef _SYS_TYPES_H
|
||||
#define _SYS_TYPES_H
|
||||
|
||||
#ifndef _FLC_ALLTYPES
|
||||
#define _FLC_ALLTYPES
|
||||
|
||||
#ifdef __need_locale_t
|
||||
#ifndef __have_locale_t
|
||||
#define __have_locale_t
|
||||
typedef struct _locale_t {
|
||||
|
||||
} locale_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __need_ptrdiff_t
|
||||
#ifndef __have_ptrdiff_t
|
||||
#define __have_ptrdiff_t
|
||||
typedef signed int ptrdiff_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __need_size_t
|
||||
#ifndef __have_size_t
|
||||
#define __have_size_t
|
||||
typedef unsigned int size_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __need_ssize_t
|
||||
#ifndef __have_ssize_t
|
||||
#define __have_ssize_t
|
||||
typedef unsigned int ssize_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __need_off_t
|
||||
#ifndef __have_off_t
|
||||
#define __have_off_t
|
||||
typedef long long int off_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __need_wchar_t
|
||||
#ifndef __have_wchar_t
|
||||
#define __have_wchar_t
|
||||
typedef int wchar_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __need_id_t
|
||||
#ifndef __have_id_t
|
||||
#define __have_id_t
|
||||
typedef int id_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __need_gid_t
|
||||
#ifndef __have_gid_t
|
||||
#define __have_gid_t
|
||||
typedef unsigned id_t gid_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __need_uid_t
|
||||
#ifndef __have_uid_t
|
||||
#define __have_uid_t
|
||||
typedef unsigned id_t uid_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef __need_suseconds_t
|
||||
#ifndef __have_suseconds_t
|
||||
#define __have_suseconds_t
|
||||
typedef long long int suseconds_t;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* not _HEADER */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue