File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 5
5
#ifndef BITCOIN_CLIENTVERSION_H
6
6
#define BITCOIN_CLIENTVERSION_H
7
7
8
+ #include < util/macros.h>
9
+
8
10
#if defined(HAVE_CONFIG_H)
9
11
#include < config/bitcoin-config.h>
10
12
#endif // HAVE_CONFIG_H
14
16
#error Client version information missing: version is not defined by bitcoin-config.h or in any other way
15
17
#endif
16
18
17
- /* *
18
- * Converts the parameter X to a string after macro replacement on X has been performed.
19
- * Don't merge these into one macro!
20
- */
21
- #define STRINGIZE (X ) DO_STRINGIZE(X)
22
- #define DO_STRINGIZE (X ) #X
23
-
24
19
// ! Copyright string used in Windows .rc files
25
20
#define COPYRIGHT_STR " 2009-" STRINGIZE(COPYRIGHT_YEAR) " " COPYRIGHT_HOLDERS_FINAL
26
21
Original file line number Diff line number Diff line change 8
8
#define PASTE (x , y ) x ## y
9
9
#define PASTE2 (x , y ) PASTE(x, y)
10
10
11
+ /**
12
+ * Converts the parameter X to a string after macro replacement on X has been performed.
13
+ * Don't merge these into one macro!
14
+ */
15
+ #define STRINGIZE (X ) DO_STRINGIZE(X)
16
+ #define DO_STRINGIZE (X ) #X
17
+
11
18
#endif // BITCOIN_UTIL_MACROS_H
You can’t perform that action at this time.
0 commit comments