Subversion Repositories tpanel

Rev

Rev 383 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 383 Rev 390
Line 22... Line 22...
22
#include <vector>
22
#include <vector>
23
#include <algorithm>
23
#include <algorithm>
24
 
24
 
25
#define V_MAJOR     1
25
#define V_MAJOR     1
26
#define V_MINOR     4
26
#define V_MINOR     4
27
#define V_PATCH     0
27
#define V_PATCH     1
28
#define V_ADD       "b3"
28
#define V_ADD       "b1"
29
 
29
 
30
#ifndef V_SERIAL
30
#ifndef V_SERIAL
31
#define V_SERIAL    "20231029TP140"
31
#define V_SERIAL    "20231111TP141B"
32
#endif
32
#endif
33
 
33
 
34
/**
34
/**
35
 * @def TPANEL_VERSION
35
 * @def TPANEL_VERSION
36
 * Defines the version of this application.
36
 * Defines the version of this application.
37
 */
37
 */
38
#define TPANEL_VERSION      ((V_MAJOR * 0x10000) + (V_MINOR * 0x100) + V_PATCH)
38
#define TPANEL_VERSION      ((V_MAJOR * 0x10000) + (V_MINOR * 0x100) + V_PATCH)
39
 
39
 
40
#define VERSION_STRING() _GET_X_VERSION(V_MAJOR, V_MINOR, V_PATCH)
40
#define VERSION_STRING() _GET_X_VERSION(V_MAJOR, V_MINOR, V_PATCH)
41
#define _GET_X_VERSION(a, b, c) _GET_VERSION(a, b, c)
41
#define _GET_X_VERSION(a, b, c) _GET_VERSION(a, b, c)
42
#define _GET_VERSION(a, b, c) ( #a "." #b "." #c )          // Release version
42
//#define _GET_VERSION(a, b, c) ( #a "." #b "." #c )          // Release version
43
//#define _GET_VERSION(a, b, c) ( #a "." #b "." #c V_ADD)     // Beta version
43
#define _GET_VERSION(a, b, c) ( #a "." #b "." #c V_ADD)     // Beta version
44
 
44
 
45
#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
45
#if !defined(_POSIX_C_SOURCE) || defined(_DARWIN_C_SOURCE)
46
typedef unsigned short          ushort;         /* Sys V compatibility */
46
typedef unsigned short          ushort;         /* Sys V compatibility */
47
typedef unsigned int            uint;           /* Sys V compatibility */
47
typedef unsigned int            uint;           /* Sys V compatibility */
48
#endif
48
#endif