X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/e956850cb32b3964152704e83db15fd93b157e43..05c87a8111143c57ddf2f2111a4e2d0240a6a49e:/test/prio-test.cpp diff --git a/test/prio-test.cpp b/test/prio-test.cpp index 613d111..af5af5e 100644 --- a/test/prio-test.cpp +++ b/test/prio-test.cpp @@ -2,10 +2,12 @@ #include #include #include +#include using eventxx::dispatcher; -#define OSASSERT(func, ...) if (func(__VA_ARGS__) == -1) { perror(#func "()"); exit(1); } +#define OSASSERT(func, ...) \ + if (func(__VA_ARGS__) == -1) { perror(#func "()"); std::exit(1); } struct handler {