aboutsummaryrefslogtreecommitdiffstats
path: root/version.h
blob: 2311c4b901e5198fc6ed765a4cd450cc6349ec10 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#ifndef __VERSION_H__INCLUDED__
#define __VERSION_H__INCLUDED__

#define DRV_STR_(x) #x
#define DRV_STR(x) DRV_STR_(x)

/* DRV, VXD and DLL have to have the same */
#define DRV_API_LEVEL 20230710UL

/* on binaries equals 1 and for INF is 1 = separate driver, 2 = softgpu pack */
#define DRV_VER_MAJOR 1

/* the YEAR */
#define DRV_VER_MINOR 2023

/* build version is deducted fom GIT */
#define DRV_VER_BUILD_FAILBACK 1

#ifndef DRV_VER_BUILD
#define DRV_VER_BUILD DRV_VER_BUILD_FAILBACK
#endif

#define DRV_VER_STR_BUILD(_ma, _mi, _pa, _bd) \
	_ma "." _mi "." _pa "." _bd

#define DRV_VER_STR DRV_VER_STR_BUILD( \
	DRV_STR(DRV_VER_MAJOR), \
	DRV_STR(DRV_VER_MINOR), \
	DRV_STR(0), \
	DRV_STR(DRV_VER_BUILD))

#define DRV_VER_NUM DRV_VER_MAJOR,DRV_VER_MINOR,0,DRV_VER_BUILD

#endif