Changeset 3835
- Timestamp:
- Mar 16, 2014, 6:16:23 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/libc/include/sys/cdefs.h
r3833 r3835 18 18 * Indicates that we've included headers from kLibC. (The value is always 1 19 19 * and has no special meaning.) */ 20 #undef __KLIBC__ 20 21 #define __KLIBC__ 1 21 22 … … 26 27 * The kLibC version number on the form 0xMMNNPP0S, where MM is major, NN is 27 28 * minor, PP the patch level, and S the tree status. 29 * @note This differes from the format the 3.3.5 compiler releases used. 28 30 */ 31 #undef __KLIBC_VERSION__ 29 32 #define __KLIBC_VERSION__ __KLIBC_MAKE_VERSION_EX(0, 7, 0, 1) 30 33 31 34 /** @def __KLIBC_VER_MAJOR__ 32 35 * The kLibC major version number. */ 36 #undef __KLIBC_VER_MAJOR__ 33 37 #define __KLIBC_VER_MAJOR__ ((__KLIBC_VERSION__ >> 24) & 0xff) 34 38 /** @def __KLIBC_VER_MINOR__ 35 39 * The kLibC minor version number. */ 40 #undef __KLIBC_VER_MINOR__ 36 41 #define __KLIBC_VER_MINOR__ ((__KLIBC_VERSION__ >> 16) & 0xff) 37 42 /** @def __KLIBC_VER_PATCHLEVEL__ 38 43 * The kLibC patch level. */ 44 #undef __KLIBC_VER_PATCHLEVEL__ 39 45 #define __KLIBC_VER_PATCHLEVEL__ ((__KLIBC_VERSION__ >> 8) & 0xff) 40 46 /** @def __KLIBC_VER_STATUS__ 41 47 * The kLibC tree status. */ 48 #undef __KLIBC_VER_STATUS__ 42 49 #define __KLIBC_VER_STATUS__ ( __KLIBC_VERSION__ & 0x0f) 43 50
Note:
See TracChangeset
for help on using the changeset viewer.