From 58bd16ab173a4df7b4d2b4d1f1c6a9aaff165ee8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 28 May 2002 23:21:57 +0000 Subject: Fixup and unifiy version numbering. Automate versioning updates. Propagate fixes across makefiles. -Erik --- include/features.h | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'include/features.h') 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 -- cgit v1.2.3