summaryrefslogtreecommitdiff
path: root/src/include/errno.h
blob: 8ec493777da94725d93e6706bd73daff7eb9fef9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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