summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 20ba6ccb..b5206a61 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -5,18 +5,7 @@
extern "C" {
#endif
-#if __STDC_VERSION__ >= 199901L
-#define __restrict restrict
-#elif !defined(__GNUC__)
-#define __restrict
-#endif
-
-#if __STDC_VERSION__ >= 201112L
-#elif defined(__GNUC__)
-#define _Noreturn __attribute__((__noreturn__))
-#else
-#define _Noreturn
-#endif
+#include <features.h>
#define STDIN_FILENO 0
#define STDOUT_FILENO 1