X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fverstag.h;h=ec9bc93017638720ed5881bdbaa6f312d407a7c1;hb=8b2b3759daf3222963cbb3cd4364fef556622e87;hp=7ca373380f395d11888339a92fa79ba2f6fd8b78;hpb=11da44352fcd4d33b173c976db45293ac1a87cca;p=bertos.git diff --git a/bertos/verstag.h b/bertos/verstag.h index 7ca37338..ec9bc930 100644 --- a/bertos/verstag.h +++ b/bertos/verstag.h @@ -27,22 +27,23 @@ * the GNU General Public License. * * Copyright 2003, 2004, 2005, 2006 Develer S.r.l. (http://www.develer.com/) - * Copyright 2001, 2002, 2003 by Bernardo Innocenti + * Copyright 2001, 2002, 2003 by Bernie Innocenti * * --> * * \version $Id$ * - * \author Bernardo Innocenti + * \author Bernie Innocenti * * \brief Declare application version strings */ + #ifndef BERTOS_VERSTAG_H #define BERTOS_VERSTAG_H #ifndef CFG_ARCH_CONFIG_H - #include + #include "cfg/cfg_arch.h" #endif #define APP_NAME "Appname" @@ -50,12 +51,18 @@ #define APP_AUTHOR "Develer" #define APP_COPYRIGHT "Copyright 2006 Develer (http://www.develer.com/)" -#if (ARCH & ARCH_FOO) + +#if ARCH & ARCH_FOO + #define VERS_MAJOR 0 + #define VERS_MINOR 1 + #define VERS_REV 0 + #define VERS_LETTER "" +#elif ARCH & ARCH_BAR #define VERS_MAJOR 0 #define VERS_MINOR 1 #define VERS_REV 0 #define VERS_LETTER "" -#elif (ARCH & ARCH_BAR) +#elif ARCH & ARCH_NIGHTTEST #define VERS_MAJOR 0 #define VERS_MINOR 1 #define VERS_REV 0