File tree 3 files changed +19
-2
lines changed 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -177,6 +177,7 @@ GRIDCOIN_CORE_H = \
177
177
node/ui_interface.h \
178
178
uint256.h \
179
179
util/check.h \
180
+ util/macros.h \
180
181
util/reverse_iterator.h \
181
182
util/settings.h \
182
183
util/strencodings.h \
Original file line number Diff line number Diff line change
1
+ // Copyright (c) 2019-2021 The Bitcoin Core developers
2
+ // Distributed under the MIT software license, see the accompanying
3
+ // file COPYING or https://www.opensource.org/licenses/mit-license.php.
4
+
5
+ #ifndef BITCOIN_UTIL_MACROS_H
6
+ #define BITCOIN_UTIL_MACROS_H
7
+
8
+ #define PASTE (x , y ) x ## y
9
+ #define PASTE2 (x , y ) PASTE(x, y)
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
+
18
+ #endif // BITCOIN_UTIL_MACROS_H
Original file line number Diff line number Diff line change @@ -60,8 +60,6 @@ EXPECTED_BOOST_INCLUDES=(
60
60
boost/multi_index/ordered_index.hpp
61
61
boost/multi_index/sequenced_index.hpp
62
62
boost/multi_index_container.hpp
63
- boost/preprocessor/cat.hpp
64
- boost/preprocessor/stringize.hpp
65
63
boost/process.hpp
66
64
boost/signals2/connection.hpp
67
65
boost/signals2/optional_last_value.hpp
You can’t perform that action at this time.
0 commit comments