summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/sys/features.h
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/include/sys/features.h')
-rw-r--r--newlib/libc/include/sys/features.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/newlib/libc/include/sys/features.h b/newlib/libc/include/sys/features.h
index 0c6043cf9..e3168beaa 100644
--- a/newlib/libc/include/sys/features.h
+++ b/newlib/libc/include/sys/features.h
@@ -25,11 +25,7 @@
extern "C" {
#endif
-/* Macros to determine that newlib is being used. Put in this header to
- * be similar to where glibc stores its version of these macros.
- */
-#define __NEWLIB__ 2
-#define __NEWLIB_MINOR__ 2
+#include <_newlib_version.h>
/* Macro to test version of GCC. Returns 0 for non-GCC or too old GCC. */
#ifndef __GNUC_PREREQ