diff options
Diffstat (limited to 'src/include/errno.h')
-rw-r--r-- | src/include/errno.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/include/errno.h b/src/include/errno.h new file mode 100644 index 00000000..54a38ff4 --- /dev/null +++ b/src/include/errno.h @@ -0,0 +1,11 @@ +#ifndef ERRNO_H +#define ERRNO_H + +#include "../../include/errno.h" + +hidden int *___errno_location(void); + +#undef errno +#define errno (*___errno_location()) + +#endif |