From 31ba7ba2cc5703e0288defc854e6cd73c5da25a3 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 8 Sep 2019 14:20:13 +0200 Subject: [PATCH] LibC: #define errno errno This makes the binutils port build again, after the TLS changes. --- Libraries/LibC/errno.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Libraries/LibC/errno.h b/Libraries/LibC/errno.h index 68db1a0417..39e59a878a 100644 --- a/Libraries/LibC/errno.h +++ b/Libraries/LibC/errno.h @@ -19,4 +19,6 @@ extern const char* sys_errlist[]; extern int sys_nerr; extern __thread int errno; +#define errno errno + __END_DECLS