From df02fbeb1650c3f757c4d463c8bfb5d208ab9da6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 10 Aug 2016 12:25:55 +0200 Subject: compat/options: add progn macro --- opentrack-compat/options.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/opentrack-compat/options.hpp b/opentrack-compat/options.hpp index 077083b2..79cdc6e5 100644 --- a/opentrack-compat/options.hpp +++ b/opentrack-compat/options.hpp @@ -43,6 +43,8 @@ #include "export.hpp" #include "slider.hpp" +// just put them here for lack of util header +#define progn(...) ([&]() { __VA_ARGS__ }()) template using mem = std::shared_ptr; #define OPENTRACK_CONFIG_FILENAME_KEY "settings-filename" -- cgit v1.2.3