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.

31 lines
528 B

  1. /*
  2. * defines for the version string
  3. */
  4. #include "version.h"
  5. #if( rmm < 10 )
  6. #define rmmpad "0"
  7. #else
  8. #define rmmpad
  9. #endif
  10. #if( rup < 10 )
  11. #define ruppad "00"
  12. #endif
  13. #if( (rup >= 10) && (rup < 100) )
  14. #define ruppad "0"
  15. #endif
  16. #if( rup >= 100 )
  17. #define ruppad
  18. #endif
  19. #define X(a,b,c) #a "." rmmpad #b "." ruppad #c ""
  20. #define VER_OUTPUT(a,b,c) X(a,b,c)
  21. #if WIN_3 OR O68K
  22. #define VERSION_STRING "Version "VER_OUTPUT(rmj,rmm,rup)
  23. #else
  24. #define VERSION_STRING "Version "VER_OUTPUT(rmj,rmm,rup)" "__DATE__"\0\xE0""01"
  25. #endif