125 lines
3.1 KiB
C
125 lines
3.1 KiB
C
/*
|
|
* verinfo.h - header file to define the build version
|
|
*
|
|
*/
|
|
|
|
//
|
|
// Force all builds to default to private
|
|
//
|
|
|
|
//#ifdef OFFICIAL_BUILD
|
|
#define OFFICIAL 1
|
|
//#endif
|
|
|
|
#ifndef DIRECTX_REDIST
|
|
// On official whistler build machines, the DX bits should not be timebombed, so
|
|
// we say that all whislter builds are "final release":
|
|
#define DX_FINAL_RELEASE 1
|
|
#else
|
|
// On DX build machines and private developer builds, we use non-final release builds
|
|
// unless this var. is set in the environment or uncommented here:
|
|
|
|
// Uncomment the following line for a non time bombed build
|
|
#define DX_FINAL_RELEASE 1
|
|
|
|
#endif
|
|
|
|
|
|
#ifndef DX_FINAL_RELEASE
|
|
#define DX_EXPIRE_YEAR 2001
|
|
#define DX_EXPIRE_MONTH 9 /* Jan=1, Feb=2, etc .. */
|
|
#define DX_EXPIRE_DAY 1
|
|
#define DX_EXPIRE_TEXT TEXT("This pre-release version of DirectX has expired, please upgrade to the latest version from http://www.microsoft.com/directx")
|
|
#endif
|
|
|
|
#define MANVERSION 4
|
|
#define MANREVISION 8
|
|
#define MANMINORREV 1
|
|
#define BUILD_NUMBER 612
|
|
#define RC_NUMBER 0
|
|
|
|
#ifdef RC_INVOKED
|
|
#define VERSIONPRODUCTNAME "Microsoft\256 DirectX for Windows\256 95 and 98\0"
|
|
#define VERSIONCOPYRIGHT "Copyright \251 Microsoft Corp. 1994-2000\0"
|
|
#endif
|
|
|
|
|
|
/***************************************************************************
|
|
* DO NOT TOUCH BELOW THIS LINE *
|
|
***************************************************************************/
|
|
|
|
#ifdef RC_INVOKED
|
|
#define VERSIONCOMPANYNAME "Microsoft Corporation\0"
|
|
|
|
/*
|
|
* Version flags
|
|
*/
|
|
//
|
|
// these two #define's are for RTM release
|
|
//
|
|
#define FINAL
|
|
|
|
#undef VER_PRIVATEBUILD
|
|
#ifndef OFFICIAL
|
|
#define VER_PRIVATEBUILD VS_FF_PRIVATEBUILD
|
|
#else
|
|
#define VER_PRIVATEBUILD 0
|
|
#endif
|
|
|
|
#undef VER_PRERELEASE
|
|
#ifndef FINAL
|
|
#define VER_PRERELEASE VS_FF_PRERELEASE
|
|
#else
|
|
#define VER_PRERELEASE 0
|
|
#endif
|
|
|
|
#undef VER_DEBUG
|
|
#ifdef DEBUG
|
|
#define VER_DEBUG VS_FF_DEBUG
|
|
#elif RDEBUG
|
|
#define VER_DEBUG VS_FF_DEBUG
|
|
#else
|
|
#define VER_DEBUG 0
|
|
#endif
|
|
|
|
#define VERSIONFLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
|
|
#define VERSIONFILEFLAGSMASK 0x0030003FL
|
|
#endif
|
|
|
|
#ifdef ADJ_MANREVISION
|
|
#undef MANREVISION
|
|
// extra spaces intended to correct a problem
|
|
#define MANREVISION ADJ_MANREVISION
|
|
#endif
|
|
|
|
#if (MANMINORREV < 10)
|
|
#define MMR_BPAD "0"
|
|
#else
|
|
#define MMR_BPAD
|
|
#endif
|
|
|
|
#if (MANREVISION < 10)
|
|
#define MR_BPAD "0"
|
|
#else
|
|
#define MR_BPAD
|
|
#endif
|
|
|
|
#if (BUILD_NUMBER < 10)
|
|
#define BN_BPAD "000"
|
|
#elif (BUILD_NUMBER < 100)
|
|
#define BN_BPAD "00"
|
|
#elif (BUILD_NUMBER < 1000)
|
|
#define BN_BPAD "0"
|
|
#else
|
|
#define BN_BPAD ""
|
|
#endif
|
|
|
|
#define BUILD_NUMBER_STR2(x) BN_BPAD #x
|
|
#define BUILD_NUMBER_STR1(x) BUILD_NUMBER_STR2(x)
|
|
#define BUILD_NUMBER_STR BUILD_NUMBER_STR1(BUILD_NUMBER)
|
|
|
|
|
|
#define VERSION_STR2(w,x,y,z) #w "." MR_BPAD #x "." MMR_BPAD #y "." BN_BPAD #z
|
|
#define VERSION_STR1(w,x,y,z) VERSION_STR2(w, x, y, z)
|
|
#define VERSIONSTR VERSION_STR1(MANVERSION, MANREVISION, MANMINORREV, BUILD_NUMBER)
|