diff --git a/glide3x/h5/glide3/src/fxbldno.c b/glide3x/h5/glide3/src/fxbldno.c index 43503d6..b728742 100644 --- a/glide3x/h5/glide3/src/fxbldno.c +++ b/glide3x/h5/glide3/src/fxbldno.c @@ -49,13 +49,15 @@ main(int argc, char **argv) locTime = *localtime(&sysTime); if (build = getenv("BUILD_NUMBER")) { - printf("#define BUILD_NUMBER %s\n", build); + printf("#define BUILD_NUMBER %s\n", build); + printf("#define BUILD_NUMBER_STR \"%s\"\n", build); } else { unsigned short magic; magic = (locTime.tm_yday << 7) | (locTime.tm_hour << 2) | (locTime.tm_min / 15); - printf("#define BUILD_NUMBER %d\n", magic); + printf("#define BUILD_NUMBER %d\n", magic); + printf("#define BUILD_NUMBER_STR \"%d\"\n", magic); } return 0; diff --git a/glide3x/h5/glide3/src/rcver.h b/glide3x/h5/glide3/src/rcver.h index 57f96d5..5d09691 100644 --- a/glide3x/h5/glide3/src/rcver.h +++ b/glide3x/h5/glide3/src/rcver.h @@ -21,14 +21,14 @@ ** */ +#include "fxbldno.h" #define MANVERSION 3 #define MANREVISION 10 #define MINVERSION 00 +//#define BUILD_NUMBER 3001 /* hmm, must be at least 674 for the 3dfx OpenGL ICD to work correctly */ -#define BUILD_NUMBER 3001 /* hmm, must be at least 674 for the 3dfx OpenGL ICD to work correctly */ - -#define VERSIONSTR "3.10.00.3001" +#define VERSIONSTR "3.10.00." BUILD_NUMBER_STR #define CONTACTSTR "The Glide Open Source Project http://glide.sourceforge.net/" #if defined(__WIN32__)