version.c

来自「这是一款amd公司的128Mbitflash芯片。 该代码实现了vxworks」· C语言 代码 · 共 36 行

C
36
字号
/* version.c - creation version/date/time module */#include "vxWorks.h"#include "version.h"/*modification history--------------------01b,17jan01,sn  simplify job of host val  01a,06mar96,dat	written*//*This module is always built with each executable image.  It providesthe VxWorks version id, and the time and date it was built.The date stamp may be overriden by defining RUNTIME_CREATION_DATE. Thiswill be primarily used by tools that compare images built on different hosts (host validation).The ANSI predefined macros __DATE__ and __TIME__ are used to providethe date/time information.  ANSI compliant compilers are required forbuilding all VxWorks executables.*/char * runtimeName    = RUNTIME_NAME;char * runtimeVersion = RUNTIME_VERSION;char * vxWorksVersion = VXWORKS_VERSION;#ifdef RUNTIME_CREATION_DATEchar * creationDate   = RUNTIME_CREATION_DATE;#elsechar * creationDate   = __DATE__ ", " __TIME__;#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?