From 971a1f8c9bb29f45bb7fc38cc8693b89a0b63a4f Mon Sep 17 00:00:00 2001 From: waltje Date: Wed, 4 Apr 2018 23:34:01 -0400 Subject: [PATCH] Bumped to 0.1.4, fixed 4-digit macro. --- src/version.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/src/version.h b/src/version.h index 52da93a..25cff8f 100644 --- a/src/version.h +++ b/src/version.h @@ -8,7 +8,7 @@ * * Define application version and build info. * - * Version: @(#)version.h 1.0.4 2018/04/01 + * Version: @(#)version.h 1.0.5 2018/04/04 * * Author: Fred N. van Kempen, * @@ -54,8 +54,8 @@ /* Version info. */ #define EMU_VER_MAJOR 0 #define EMU_VER_MINOR 1 -#define EMU_VER_REV 3 -#define EMU_VER_PATCH 5 +#define EMU_VER_REV 4 +//#define EMU_VER_PATCH 1 /* Standard C preprocessor macros. */ @@ -65,7 +65,11 @@ /* These are used in the application. */ #define EMU_VER_NUM EMU_VER_MAJOR.EMU_VER_MINOR.EMU_VER_REV -#define EMU_VER_NUM_4 EMU_VER_MAJOR.EMU_VER_MINOR.EMU_VER_REV.EMU_VER_PATCH +#ifdef EMU_VER_PATCH +# define EMU_VER_NUM_4 EMU_VER_MAJOR.EMU_VER_MINOR.EMU_VER_REV.EMU_VER_PATCH +#else +# define EMU_VER_NUM_4 EMU_VER_MAJOR.EMU_VER_MINOR.EMU_VER_REV.0 +#endif #define EMU_VERSION STR(EMU_VER_NUM) #define EMU_VERSION_4 STR(EMU_VER_NUM_4)