mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-07 06:14:33 +00:00
14 lines
209 B
C
Vendored
14 lines
209 B
C
Vendored
#ifndef ERRNO_H
|
|
#define ERRNO_H
|
|
|
|
#include "../../include/errno.h"
|
|
|
|
#ifdef __GNUC__
|
|
__attribute__((const))
|
|
#endif
|
|
hidden int *___errno_location(void);
|
|
|
|
#undef errno
|
|
#define errno (*___errno_location())
|
|
|
|
#endif
|