Source code of Windows XP (NT5)
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.

71 lines
1.6 KiB

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