aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2018-08-15 07:55:15 -0400
committerMarcoFalke <falke.marco@gmail.com>2018-08-15 07:55:39 -0400
commite393a18b513e11697db8585c46a8c8b2fd3238cd (patch)
tree19028dc20f2f38c84cef7528cca836b6d8dfc86c /src
parent63f8b0128b2aac3b25c6ec4d2f5bda213033162a (diff)
parent1f6ff04e59fcd1f2315d194f096665d73c8922d2 (diff)
downloadbitcoin-e393a18b513e11697db8585c46a8c8b2fd3238cd.tar.xz
Merge #13964: ci: Add Appveyor CI
1f6ff04e59 Use wildcard path in test_bitcoin.vcxproj (Chun Kuan Lee) 90cc69c0c7 ci: Add appveyor.yml to build on MSVC (Chun Kuan Lee) 4d0c7924d2 Make macro compatible with MSVC (Chun Kuan Lee) Pull request description: Introduce Appveyor CI for MSVC. This would require the owner adding appveyor to this repo. Also fix some MSVC incompatible code. This `appveyor.yml` file is modified from @sipsorcery and @NicolasDorier 's code in #12613. Appveyor CI result: https://ci.appveyor.com/project/ken2812221/bitcoin/build/1.0.151 Tree-SHA512: b5b0f1686a33e54325ea6de81606806a7d9a0f8d4acbb97c9ce598386e8fcb2220def264777609ed2b850ac8c490fd181303ea522c5a70487272d46995f4c52d
Diffstat (limited to 'src')
-rw-r--r--src/ui_interface.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui_interface.h b/src/ui_interface.h
index 992c585b10..fe466b3ca4 100644
--- a/src/ui_interface.h
+++ b/src/ui_interface.h
@@ -75,9 +75,9 @@ public:
MSG_ERROR = (ICON_ERROR | BTN_OK | MODAL)
};
-#define ADD_SIGNALS_DECL_WRAPPER(signal_name, rtype, args...) \
- rtype signal_name(args); \
- using signal_name##Sig = rtype(args); \
+#define ADD_SIGNALS_DECL_WRAPPER(signal_name, rtype, ...) \
+ rtype signal_name(__VA_ARGS__); \
+ using signal_name##Sig = rtype(__VA_ARGS__); \
boost::signals2::connection signal_name##_connect(std::function<signal_name##Sig> fn); \
void signal_name##_disconnect(std::function<signal_name##Sig> fn);