windows-nt/Source/XPSP1/NT/net/jet500/xjet/inc/verstamp.h
2020-09-26 16:20:57 +08:00

66 lines
1.6 KiB
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "version.h" /* SLM maintained version file */
#include <winver.h>
#if (rmm < 10)
#define rmmpad "0"
#else
#define rmmpad
#endif
#if (rup == 0)
#define VERSION_STR1(a,b,c) #a "." rmmpad #b
#else /* !(rup == 0) */
#define VERSION_STR1(a,b,c) #a "." rmmpad #b "." ruppad #c
#if (rup < 10)
#define ruppad "000"
#elif (rup < 100)
#define ruppad "00"
#elif (rup < 1000)
#define ruppad "0"
#else
#define ruppad
#endif
#endif /* !(rup == 0) */
#define VERSION_STR2(a,b,c) VERSION_STR1(a,b,c)
#define VER_PRODUCTVERSION_STR VERSION_STR2(rmj,rmm,rup)
#define VER_PRODUCTVERSION rmj,rmm,0,rup
/*--------------------------------------------------------------*/
/* the following section defines values used in the version */
/* data structure for all files, and which do not change. */
/*--------------------------------------------------------------*/
#ifdef RETAIL
#define VER_DEBUG 0
#else
#define VER_DEBUG VS_FF_DEBUG
#endif
#if (rup == 0) /* CONSIDER */
#define VER_PRIVATEBUILD 0
#else
#define VER_PRIVATEBUILD VS_FF_PRIVATEBUILD
#endif
#if (rup == 0)
#define VER_PRERELEASE 0
#else
#define VER_PRERELEASE VS_FF_PRERELEASE
#endif
#define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#define VER_FILEOS VOS_DOS_WINDOWS16
#define VER_FILEFLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
#define VER_COMPANYNAME_STR "Microsoft Corporation"
#define VER_PRODUCTNAME_STR "Microsoft\256 Exchange Database Engine"
#define VER_LEGALTRADEMARKS_STR \
"Microsoft\256 is a registered trademark of Microsoft Corporation."