From 5585a44574b0bc3414856c9c7ab7a7384c5851c7 Mon Sep 17 00:00:00 2001 From: David Chisnall Date: Fri, 25 Jan 2019 13:14:42 +0000 Subject: [PATCH] Remove work around for old glibc. --- properties.m | 2 +- unistd.h | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) delete mode 100644 unistd.h diff --git a/properties.m b/properties.m index 61acccc..8b8467c 100644 --- a/properties.m +++ b/properties.m @@ -4,7 +4,7 @@ #include #include #include -#include "unistd.h" +#include #include "class.h" #include "properties.h" #include "spinlock.h" diff --git a/unistd.h b/unistd.h deleted file mode 100644 index 1f3296d..0000000 --- a/unistd.h +++ /dev/null @@ -1,10 +0,0 @@ -/* See http://llvm.org/bugs/show_bug.cgi?id=4746 */ -#ifdef __block -# undef __block -# include_next "unistd.h" -# define __block __attribute__((__blocks__(byref))) -#else -# if __has_include_next("unitstd.h") -# include_next "unistd.h" -# endif -#endif