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.

53 lines
1.3 KiB

  1. //----------------------------------------------------------------------------
  2. // Copyright (C) Microsoft Corporation, 1992 - 1995.
  3. //
  4. // File: versstr.h
  5. //
  6. // Contents: Defines required for Mac & Win Version resource for Forms3 components.
  7. //
  8. //----------------------------------------------------------------------------
  9. #include "version.h"
  10. // The following hack to build both the file version stamps
  11. // from the same data was stolen from DART,
  12. #if (rmm < 10)
  13. #define rmmpad "0"
  14. #else
  15. #define rmmpad
  16. #endif
  17. #define _RELEASE_BUILD 1
  18. #if defined(_RELEASE_BUILD) && DBG == 0
  19. #define VER_STR1(a,b,c) #a ".0"
  20. #else
  21. # if defined(VER_ASYCPICT_FORMAT)
  22. #define VER_STR1(a,b,c) #a "." rmmpad #b "." #c ".0"
  23. # else
  24. #define VER_STR1(a,b,c) #a ".00." rmmpad #b "." #c
  25. # endif
  26. #endif
  27. #if defined(VER_ASYCPICT_FORMAT)
  28. #define VER_VERSION rmj, rmm, rup, 0
  29. #else
  30. #define VER_VERSION rmj, 0, rmm, rup
  31. #endif
  32. #define VER_STR2(a,b,c) VER_STR1(a,b,c)
  33. #define VER_VERSION_STR VER_STR2(rmj,rmm,rup)
  34. #define VER_COMMENT szVerName
  35. #ifdef VER_PRIVATE_BUILD_STR
  36. #define VER_PRIVATE_BUILD_FLG VS_FF_PRIVATEBUILD | VS_FF_SPECIALBUILD
  37. #else
  38. #define VER_PRIVATE_BUILD_FLG 0
  39. #endif
  40. #if DBG==1
  41. #define VER_DEBUG_BUILD_FLG VS_FF_DEBUG
  42. #else
  43. #define VER_DEBUG_BUILD_FLG 0
  44. #endif