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.

42 lines
677 B

  1. /*
  2. * defines for the version string
  3. */
  4. #include "version.h"
  5. #undef rmj
  6. #undef rmm
  7. #define rmj 1 /* major version string */
  8. #ifdef _WIN32
  9. #define rmm 50
  10. #else
  11. #ifdef M_I386
  12. #define rmm 50 /* minor version string */
  13. #else
  14. #define rmm 42 /* minor version string */
  15. #endif
  16. #endif
  17. #if( rmm < 10 )
  18. #define rmmpad "0"
  19. #else
  20. #define rmmpad
  21. #endif
  22. #if( rup < 10 )
  23. #define ruppad "00"
  24. #endif
  25. #if( (rup >= 10) && (rup < 100) )
  26. #define ruppad "0"
  27. #endif
  28. #if( rup >= 100 )
  29. #define ruppad
  30. #endif
  31. #define X(a,b,c) #a "." rmmpad #b "." ruppad #c
  32. #define VER_OUTPUT(a,b,c) X(a,b,c)
  33. #define VERSION_STRING "Version "VER_OUTPUT(rmj,rmm,rup)"\0\xE0\xEA""01"