version.c
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* version.c - creation version/date/time module */
  2. #include "vxWorks.h"
  3. #include "version.h"
  4. /*
  5. modification history
  6. --------------------
  7. 01b,17jan01,sn  simplify job of host val  
  8. 01a,06mar96,dat written
  9. */
  10. /*
  11. This module is always built with each executable image.  It provides
  12. the VxWorks version id, and the time and date it was built.
  13. The date stamp may be overriden by defining RUNTIME_CREATION_DATE. This
  14. will be primarily used by tools that compare images built on different hosts 
  15. (host validation).
  16. The ANSI predefined macros __DATE__ and __TIME__ are used to provide
  17. the date/time information.  ANSI compliant compilers are required for
  18. building all VxWorks executables.
  19. */
  20. char * runtimeName    = RUNTIME_NAME;
  21. char * runtimeVersion = RUNTIME_VERSION;
  22. char * vxWorksVersion = VXWORKS_VERSION;
  23. #ifdef RUNTIME_CREATION_DATE
  24. char * creationDate   = RUNTIME_CREATION_DATE;
  25. #else
  26. char * creationDate   = __DATE__ ", " __TIME__;
  27. #endif