Process Hacker
phappres.h
Go to the documentation of this file.
1 // Notes:
2 // * Do not use /* comments */ since ISPP is buggy and it will throw an error.
3 
4 #ifndef PH_PHAPPRES_H
5 #define PH_PHAPPRES_H
6 
7 #include "phapprev.h"
8 
9 #define PHAPP_VERSION_MAJOR 2
10 #define PHAPP_VERSION_MINOR 36
11 #define PHAPP_VERSION_BUILD 0
12 
13 #if (PHAPP_VERSION_BUILD == 0)
14 #define TWO_DIGIT_VER 1
15 #else
16 #define THREE_DIGIT_VER 1
17 #endif
18 
19 #define DO_MAKE_STR(x) #x
20 #define MAKE_STR(x) DO_MAKE_STR(x)
21 
22 #ifndef ISPP_INVOKED
23 
24 #if defined(TWO_DIGIT_VER)
25 #define PHAPP_VERSION_STRING MAKE_STR(PHAPP_VERSION_MAJOR) "." MAKE_STR(PHAPP_VERSION_MINOR) ".0" "." MAKE_STR(PHAPP_VERSION_REVISION)
26 #elif defined(THREE_DIGIT_VER)
27 #define PHAPP_VERSION_STRING MAKE_STR(PHAPP_VERSION_MAJOR) "." MAKE_STR(PHAPP_VERSION_MINOR) "." MAKE_STR(PHAPP_VERSION_BUILD) "." MAKE_STR(PHAPP_VERSION_REVISION)
28 #endif
29 
30 #define PHAPP_VERSION_NUMBER PHAPP_VERSION_MAJOR,PHAPP_VERSION_MINOR,PHAPP_VERSION_BUILD,PHAPP_VERSION_REVISION
31 
32 #endif // ISPP_INVOKED
33 
34 #endif // PHAPPRES_H