15 lines
209 B
C
15 lines
209 B
C
#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
|