Browse Source

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

Eric Andersen 25 năm trước cách đây
mục cha
commit
38b2064940
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      include/features.h

+ 8 - 0
include/features.h

@@ -2,6 +2,14 @@
 #ifndef __FEATURES_H
 #ifndef __FEATURES_H
 #define __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__
 #ifdef __STDC__
 
 
 #define __P(x) x
 #define __P(x) x