author | Rich Felker <dalias@aerifal.cx> | 2018年09月14日 23:08:53 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2018年09月14日 23:08:53 -0400 |
commit | e13063aad7aee341d278d2a879a76ec7b59b2ad8 (patch) | |
tree | 312126a3ac1514eadb3ea88d4a73703f5291c8b2 /src/include/errno.h | |
parent | da55d4884bf26ce31cd6a64ed176019c2ba9839a (diff) | |
download | musl-e13063aad7aee341d278d2a879a76ec7b59b2ad8.tar.gz |
-rw-r--r-- | src/include/errno.h | 11 |
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 |