X-Git-Url: https://git.llucax.com/software/eventxx.git/blobdiff_plain/e956850cb32b3964152704e83db15fd93b157e43..2c722f14fdce3f1a32bf26eb26d316cced826ba4:/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 {