aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test/compattests.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-12-19 08:29:47 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-12-19 08:29:52 +0100
commit79da3979b7cc0d1f93f918983c47af22f551ac63 (patch)
treea0d0bd6bddbe31546d66dfb6c1024192354ee940 /src/qt/test/compattests.h
parentb99a093afed880f23fb279c443cc6ae5e379cc43 (diff)
parent815f4148b2eff6c64c764e910e79677d5a67adc7 (diff)
Merge #9366: Fix: OSX QT compile: use built-in swap if available, or defer
815f414 Uses built-in byte swap if available (Apple) and if bswap_XX is undefined. (Karl-Johan Alm)
Diffstat (limited to 'src/qt/test/compattests.h')
-rw-r--r--src/qt/test/compattests.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/qt/test/compattests.h b/src/qt/test/compattests.h
new file mode 100644
index 0000000000..35dede7743
--- /dev/null
+++ b/src/qt/test/compattests.h
@@ -0,0 +1,19 @@
+// Copyright (c) 2009-2015 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_QT_TEST_COMPATTESTS_H
+#define BITCOIN_QT_TEST_COMPATTESTS_H
+
+#include <QObject>
+#include <QTest>
+
+class CompatTests : public QObject
+{
+ Q_OBJECT
+
+private Q_SLOTS:
+ void bswapTests();
+};
+
+#endif // BITCOIN_QT_TEST_COMPATTESTS_H