use automatic versioning
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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__)
|
||||
|
||||
Reference in New Issue
Block a user