Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
1.6 KiB

  1. /* Copyright (c)1997-1999 Microsoft Corporation, All Rights Reserved */
  2. #if (rmm < 10)
  3. #define rmmpad "0"
  4. #else
  5. #define rmmpad
  6. #endif
  7. #if (rup == 0)
  8. #define VERSION_STR1(a,b,c) #a "." rmmpad #b
  9. #else /* !(rup == 0) */
  10. #define VERSION_STR1(a,b,c) #a "." rmmpad #b "." ruppad #c
  11. #if (rup < 10)
  12. #define ruppad "000"
  13. #elif (rup < 100)
  14. #define ruppad "00"
  15. #elif (rup < 1000)
  16. #define ruppad "0"
  17. #else
  18. #define ruppad
  19. #endif
  20. #endif /* !(rup == 0) */
  21. #define VERSION_STR2(a,b,c) VERSION_STR1(a,b,c)
  22. #define VER_PRODUCTVERSION_STR VERSION_STR2(rmj,rmm,rup)
  23. #define VER_PRODUCTVERSION rmj,rmm,0,rup
  24. /*--------------------------------------------------------------*/
  25. /* the following section defines values used in the version */
  26. /* data structure for all files, and which do not change. */
  27. /*--------------------------------------------------------------*/
  28. #if defined(_SHIP)
  29. #define VER_DEBUG 0
  30. #else
  31. #define VER_DEBUG VS_FF_DEBUG
  32. #endif
  33. #if defined(_SHIP)
  34. #define VER_PRIVATEBUILD 0
  35. #else
  36. #define VER_PRIVATEBUILD VS_FF_PRIVATEBUILD
  37. #endif
  38. #if defined(_SHIP)
  39. #define VER_PRERELEASE 0
  40. #else
  41. #define VER_PRERELEASE VS_FF_PRERELEASE
  42. #endif
  43. #define VER_FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
  44. #if defined(_WIN32) || defined(WIN32)
  45. #define VER_FILEOS VOS__WINDOWS32
  46. #else
  47. #define VER_FILEOS VOS_DOS_WINDOWS16
  48. #endif
  49. #if defined(_DEBUG)
  50. #define VER_FILEFLAGS (VER_PRIVATEBUILD|VER_PRERELEASE|VER_DEBUG)
  51. #else
  52. #define VER_FILEFLAGS 0
  53. #endif
  54. #define VER_COMPANYNAME_STR "Microsoft Corporation"
  55. #define VER_PRODUCTNAME_STR "Microsoft (R) Visual InterDev"