version.h 566 B

1234567891011121314151617181920212223
  1. // ***********************************************************/
  2. // version.h
  3. //
  4. // Copy Right @ Steven Huang. All rights reserved.
  5. //
  6. // Version definition of this software.
  7. // ***********************************************************/
  8. #pragma once
  9. #define VERSION_MAJOR 2
  10. #define VERSION_MINOR 2
  11. #define VERSION_MICRO 3
  12. #define VERSION_DOT(a, b, c) a.b.c
  13. #define PLAYER_VERSION_NUMBER \
  14. VERSION_DOT(VERSION_MAJOR, VERSION_MINOR, VERSION_MICRO)
  15. #define STR_HELPER(x) #x
  16. #define STR(x) STR_HELPER(x)
  17. #define PLAYER_VERSION STR(PLAYER_VERSION_NUMBER)