diff options
author | pk33 <pk33@pk33.space> | 2024-11-03 01:39:28 +0100 |
---|---|---|
committer | pk33 <pk33@pk33.space> | 2024-11-03 01:39:28 +0100 |
commit | ee7cd3e6b622a8c40236ac26270e369bc28af007 (patch) | |
tree | d5473064793f559d6677de193b4c827cf6623d2e /musl/errno.h | |
parent | dd5240ff7a87e85bca15b294236220ac0576055f (diff) | |
download | engine33-ee7cd3e6b622a8c40236ac26270e369bc28af007.tar.gz |
modesetting tweaks
Diffstat (limited to 'musl/errno.h')
-rw-r--r-- | musl/errno.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/musl/errno.h b/musl/errno.h new file mode 100644 index 0000000..0361b33 --- /dev/null +++ b/musl/errno.h @@ -0,0 +1,27 @@ +#ifndef _ERRNO_H +#define _ERRNO_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include <features.h> + +#include <bits/errno.h> + +#ifdef __GNUC__ +__attribute__((const)) +#endif +int *__errno_location(void); +#define errno (*__errno_location()) + +#ifdef _GNU_SOURCE +extern char *program_invocation_short_name, *program_invocation_name; +#endif + +#ifdef __cplusplus +} +#endif + +#endif + |