1 | /* |
2 | * Copyright (c) 1994 by Xerox Corporation. All rights reserved. |
3 | * Copyright (c) 1996 by Silicon Graphics. All rights reserved. |
4 | * Copyright (c) 1998 by Fergus Henderson. All rights reserved. |
5 | * Copyright (c) 2000-2009 by Hewlett-Packard Development Company. |
6 | * All rights reserved. |
7 | * |
8 | * THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED |
9 | * OR IMPLIED. ANY USE IS AT YOUR OWN RISK. |
10 | * |
11 | * Permission is hereby granted to use or copy this program |
12 | * for any purpose, provided the above notices are retained on all copies. |
13 | * Permission to modify the code and to distribute modified code is granted, |
14 | * provided the above notices are retained, and a notice that the code was |
15 | * modified is included with the above copyright notice. |
16 | */ |
17 | |
18 | /* This should never be included directly; it is included only from gc.h. */ |
19 | #if defined(GC_H) |
20 | |
21 | /* The policy regarding version numbers: development code has odd */ |
22 | /* "minor" number (and "micro" part is 0); when development is finished */ |
23 | /* and a release is prepared, "minor" number is incremented (keeping */ |
24 | /* "micro" number still zero), whenever a defect is fixed a new release */ |
25 | /* is prepared incrementing "micro" part to odd value (the most stable */ |
26 | /* release has the biggest "micro" number). */ |
27 | |
28 | /* The version here should match that in configure/configure.ac */ |
29 | /* Eventually this one may become unnecessary. For now we need */ |
30 | /* it to keep the old-style build process working. */ |
31 | #define GC_TMP_VERSION_MAJOR 7 |
32 | #define GC_TMP_VERSION_MINOR 4 |
33 | #define GC_TMP_VERSION_MICRO 2 /* 7.4.2 */ |
34 | |
35 | #ifdef GC_VERSION_MAJOR |
36 | # if GC_TMP_VERSION_MAJOR != GC_VERSION_MAJOR \ |
37 | || GC_TMP_VERSION_MINOR != GC_VERSION_MINOR \ |
38 | || GC_TMP_VERSION_MICRO != GC_VERSION_MICRO |
39 | # error Inconsistent version info. Check README.md, include/gc_version.h and configure.ac. |
40 | # endif |
41 | #else |
42 | # define GC_VERSION_MAJOR GC_TMP_VERSION_MAJOR |
43 | # define GC_VERSION_MINOR GC_TMP_VERSION_MINOR |
44 | # define GC_VERSION_MICRO GC_TMP_VERSION_MICRO |
45 | #endif /* !GC_VERSION_MAJOR */ |
46 | |
47 | #endif |
48 | |