Annotation of OpenXM_contrib2/asir2000/gc/version.h, Revision 1.7
1.7 ! noro 1: /* The version here should match that in configure/configure.in */
! 2: /* Eventually this one may become unnecessary. For now we need */
! 3: /* it to keep the old-style build process working. */
! 4: #define GC_TMP_VERSION_MAJOR 6
! 5: #define GC_TMP_VERSION_MINOR 2
! 6: #define GC_TMP_ALPHA_VERSION 6
1.1 noro 7:
1.7 ! noro 8: #if defined(GC_VERSION_MAJOR)
! 9: # if GC_TMP_VERSION_MAJOR != GC_VERSION_MAJOR || \
! 10: GC_TMP_VERSION_MINOR != GC_VERSION_MINOR || \
! 11: GC_TMP_ALPHA_VERSION != GC_ALPHA_VERSION
! 12: # error Inconsistent version info. Check version.h and configure.in.
! 13: # endif
! 14: #else
! 15: # define GC_VERSION_MAJOR GC_TMP_VERSION_MAJOR
! 16: # define GC_VERSION_MINOR GC_TMP_VERSION_MINOR
! 17: # define GC_ALPHA_VERSION GC_TMP_ALPHA_VERSION
! 18: #endif
! 19:
! 20: #ifndef GC_NOT_ALPHA
1.1 noro 21: # define GC_NOT_ALPHA 0xff
1.7 ! noro 22: #endif
1.1 noro 23:
24: #ifndef GC_NO_VERSION_VAR
25:
26: unsigned GC_version = ((GC_VERSION_MAJOR << 16) | (GC_VERSION_MINOR << 8) | GC_ALPHA_VERSION);
27:
28: #endif /* GC_NO_VERSION_VAR */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>