aboutsummaryrefslogtreecommitdiff
path: root/src/util/macros.h
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@gmail.com>2019-09-25 10:55:52 -0400
committerJames O'Beirne <james.obeirne@gmail.com>2019-09-25 10:56:00 -0400
commit0d86f4d3dacab38f3cd5371d0c920585c178302c (patch)
treee0adcd40ed647c8d803e51642760be4537af865b /src/util/macros.h
parent6e431296daceee604f48e9e3e87fa84cfd44bef2 (diff)
refactor: consolidate PASTE macros
Diffstat (limited to 'src/util/macros.h')
-rw-r--r--src/util/macros.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/util/macros.h b/src/util/macros.h
new file mode 100644
index 0000000000..36ea87c0fe
--- /dev/null
+++ b/src/util/macros.h
@@ -0,0 +1,11 @@
+// Copyright (c) 2019 The Bitcoin Core developers
+// Distributed under the MIT software license, see the accompanying
+// file COPYING or http://www.opensource.org/licenses/mit-license.php.
+
+#ifndef BITCOIN_UTIL_MACROS_H
+#define BITCOIN_UTIL_MACROS_H
+
+#define PASTE(x, y) x ## y
+#define PASTE2(x, y) PASTE(x, y)
+
+#endif // BITCOIN_UTIL_MACROS_H