add cnc-ddraw version to log

This commit is contained in:
FunkyFr3sh 2023-09-22 01:56:10 +02:00
parent 5fa50fda51
commit b039d9d4d1
5 changed files with 24 additions and 10 deletions

16
inc/version.h Normal file
View file

@ -0,0 +1,16 @@
#ifndef VERSION_H
#define VERSION_H
#define str(s) #s
#define ver_str(a,b,c,d) str(a) "." str(b) "." str(c) "." str(d)
#define VERSION_MAJOR 5
#define VERSION_MINOR 7
#define VERSION_BUILD 0
#define VERSION_REVISION 5
#define VERSION VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD, VERSION_REVISION
#define VERSION_STRING ver_str(VERSION_MAJOR, VERSION_MINOR, VERSION_BUILD, VERSION_REVISION)
#endif