summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 86cf0171..f7c59719 100644
--- a/include/stdlib.h
+++ b/include/stdlib.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>
#undef NULL
#ifdef __cplusplus