summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-06-19 21:51:18 +0000
committerEric Andersen <andersen@codepoet.org>2000-06-19 21:51:18 +0000
commit38b20649403f2cbffc4581211f1b61868e3b358f (patch)
tree5a418737414045dd008d9a57dda8c0942b2952e6 /include
parent1ff29edccbb42f603859abb6eda22265df896a4f (diff)
Add in a version number so apps can tell uclib is being used.
-Erik
Diffstat (limited to 'include')
-rw-r--r--include/features.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/features.h b/include/features.h
index 60ecc0a4c..b14e8e224 100644
--- a/include/features.h
+++ b/include/features.h
@@ -2,6 +2,14 @@
#ifndef __FEATURES_H
#define __FEATURES_H
+
+/* 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__ 1
+
+
#ifdef __STDC__
#define __P(x) x