1 #pragma once
2 
3 #define OBS_BROWSER_VERSION_MAJOR 2
4 #define OBS_BROWSER_VERSION_MINOR 14
5 #define OBS_BROWSER_VERSION_PATCH 3
6 
7 #ifndef MAKE_SEMANTIC_VERSION
8 #define MAKE_SEMANTIC_VERSION(major, minor, patch) \
9 	((major << 24) | (minor << 16) | patch)
10 #endif
11 
12 #define OBS_BROWSER_VERSION_INT                          \
13 	MAKE_SEMANTIC_VERSION(OBS_BROWSER_VERSION_MAJOR, \
14 			      OBS_BROWSER_VERSION_MINOR, \
15 			      OBS_BROWSER_VERSION_PATCH)
16 
17 #define OBS_BROWSER_MACRO_STR_(x) #x
18 #define OBS_BROWSER_MACRO_STR(x) OBS_BROWSER_MACRO_STR_(x)
19 
20 #define OBS_BROWSER_VERSION_STRING                                                      \
21 	OBS_BROWSER_MACRO_STR(OBS_BROWSER_VERSION_MAJOR)                                \
22 	"." OBS_BROWSER_MACRO_STR(OBS_BROWSER_VERSION_MINOR) "." OBS_BROWSER_MACRO_STR( \
23 		OBS_BROWSER_VERSION_PATCH)
24