Browse Source

Add in a version number so apps can tell uclib is being used.
-Erik

Eric Andersen 25 years ago
parent
commit
38b2064940
1 changed files with 8 additions and 0 deletions
  1. 8 0
      include/features.h

+ 8 - 0
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