summaryrefslogtreecommitdiff
path: root/include/features.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-28 23:21:57 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-28 23:21:57 +0000
commit58bd16ab173a4df7b4d2b4d1f1c6a9aaff165ee8 (patch)
tree999d784234b148b108e4e1ab399ab97d519f9c0e /include/features.h
parenta46c34c4ec04aa052116f787040180d12b74793b (diff)
Fixup and unifiy version numbering. Automate versioning updates.
Propagate fixes across makefiles. -Erik
Diffstat (limited to 'include/features.h')
-rw-r--r--include/features.h20
1 files changed, 15 insertions, 5 deletions
diff --git a/include/features.h b/include/features.h
index aa4c050a7..1d320380f 100644
--- a/include/features.h
+++ b/include/features.h
@@ -249,11 +249,21 @@
/* wchar_t uses ISO 10646-1 (2nd ed., published 2000-09-15) / Unicode 3.0. */
#define __STDC_ISO_10646__ 200009L
-/* Major and minor version number of the uClibc library package. Use
- these macros to test for features in specific releases. */
-#define __UCLIBC__ 0
-#define __UCLIBC_MAJOR__ 9
-#define __UCLIBC_MINOR__ 5
+/* This macro indicates that the installed library is uClibc. Use
+ * __UCLIBC_MAJOR__ and __UCLIBC_MINOR__ to test for the features in
+ * specific releases. */
+#define __UCLIBC__ 1
+
+/* Major and minor version number of the uClibc library package are
+ * can be used to test for features in specific uClibc releases.
+ *
+ * Now included from bits/uClibc_config.h */
+#if 0
+/* For uClibc release 0.9.12, these numbers would be: */
+#define __UCLIBC_MAJOR__ 0
+#define __UCLIBC_MINOR__ 9
+#define __UCLIBC_SUBLEVEL__ 12
+#endif
/* There is an unwholesomely huge amount of code out there that depends on the
* presence of GNU libc header files. We have GNU libc header files. So here