Back to index

plt-scheme  4.2.1
version.h
Go to the documentation of this file.
00001 /* The version here should match that in configure/configure.in       */
00002 /* Eventually this one may become unnecessary.  For now we need       */
00003 /* it to keep the old-style build process working.             */
00004 #define GC_TMP_VERSION_MAJOR 6
00005 #define GC_TMP_VERSION_MINOR 7
00006 #define GC_TMP_ALPHA_VERSION GC_NOT_ALPHA
00007 
00008 #ifndef GC_NOT_ALPHA
00009 #   define GC_NOT_ALPHA 0xff
00010 #endif
00011 
00012 #if defined(GC_VERSION_MAJOR)
00013 # if GC_TMP_VERSION_MAJOR != GC_VERSION_MAJOR || \
00014      GC_TMP_VERSION_MINOR != GC_VERSION_MINOR || \
00015      defined(GC_ALPHA_VERSION) != (GC_TMP_ALPHA_VERSION != GC_NOT_ALPHA) || \
00016      defined(GC_ALPHA_VERSION) && GC_TMP_ALPHA_VERSION != GC_ALPHA_VERSION
00017 #   error Inconsistent version info.  Check README, version.h, and configure.in.
00018 # endif
00019 #else
00020 # define GC_VERSION_MAJOR GC_TMP_VERSION_MAJOR
00021 # define GC_VERSION_MINOR GC_TMP_VERSION_MINOR
00022 # define GC_ALPHA_VERSION GC_TMP_ALPHA_VERSION
00023 #endif
00024 
00025 
00026 #ifndef GC_NO_VERSION_VAR
00027 
00028 unsigned GC_version = ((GC_VERSION_MAJOR << 16) | (GC_VERSION_MINOR << 8) | GC_TMP_ALPHA_VERSION);
00029 
00030 #endif /* GC_NO_VERSION_VAR */