Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / src / nas,5.n2.os.2 / lib / python / include / python2.4 / patchlevel.h
CommitLineData
86530b38
AT
1#define PY_RELEASE_LEVEL_ALPHA 0xA
2#define PY_RELEASE_LEVEL_BETA 0xB
3#define PY_RELEASE_LEVEL_GAMMA 0xC /* For release candidates */
4#define PY_RELEASE_LEVEL_FINAL 0xF /* Serial should be 0 here */
5 /* Higher for patch releases */
6
7/* Version parsed out into numeric values */
8#define PY_MAJOR_VERSION 2
9#define PY_MINOR_VERSION 4
10#define PY_MICRO_VERSION 2
11#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
12#define PY_RELEASE_SERIAL 0
13
14/* Version as a string */
15#define PY_VERSION "2.4.2"
16
17/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
18 Use this for numeric comparisons, e.g. #if PY_VERSION_HEX >= ... */
19#define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | \
20 (PY_MINOR_VERSION << 16) | \
21 (PY_MICRO_VERSION << 8) | \
22 (PY_RELEASE_LEVEL << 4) | \
23 (PY_RELEASE_SERIAL << 0))