diff options
Diffstat (limited to 'include/errno.h')
-rw-r--r-- | include/errno.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/errno.h b/include/errno.h index 93f5f6ec..0361b33a 100644 --- a/include/errno.h +++ b/include/errno.h @@ -9,6 +9,9 @@ extern "C" { #include <bits/errno.h> +#ifdef __GNUC__ +__attribute__((const)) +#endif int *__errno_location(void); #define errno (*__errno_location()) |