diff options
author | Robert de Bath <rdebath@poboxes.com> | 1997-10-05 15:05:09 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-23 23:40:02 +0200 |
commit | 48798bf2eb93ec3b99720ac2e16093441156653d (patch) | |
tree | 35e03d95df5f2677f05e32d70abb6d0583aa47ba /libc/include/features.h | |
parent | 9d97bc3cb3aecd3416fb7c4be3ca2f436665b696 (diff) | |
download | dev86-48798bf2eb93ec3b99720ac2e16093441156653d.tar.gz |
Import Dev86src-0.13.0.tar.gzv0.13.0
Diffstat (limited to 'libc/include/features.h')
-rw-r--r-- | libc/include/features.h | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/libc/include/features.h b/libc/include/features.h index 11eb610..1c7da63 100644 --- a/libc/include/features.h +++ b/libc/include/features.h @@ -22,6 +22,26 @@ #endif +/* Pick an OS sysinclude directory */ +/* Use with #include __SYSINC__(errno.h) */ + +#ifdef __ELKS__ +#define __SYSINC__(_h_file_) <linuxmt/_h_file_> +#endif + +#ifdef __linux__ +#undef linux /* Eyuk! */ +#define __SYSINC__(_h_file_) <linux/_h_file_> +#endif + +#ifdef __MSDOS__ +#define __SYSINC__(_h_file_) <msdos/_h_file_> +#endif + +#ifndef __SYSINC__ +#define __SYSINC__(_h_file_) <generic/_h_file_> +#endif + /* No C++ */ #define __BEGIN_DECLS #define __END_DECLS @@ -33,4 +53,3 @@ #include <sys/cdefs.h> #endif - |