X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=test%2Fecho-fork.c;h=0096c9e0fb4adc5c8611a5bccd366d7863bd2445;hb=0f0bea383106de1a896905fdf8a56f55265bce74;hp=aae7531f554a4d847043c40a4050a42cefbf3410;hpb=9a2520c36431a8a5fd90451e97f488c22f4decc5;p=meshlink diff --git a/test/echo-fork.c b/test/echo-fork.c index aae7531f..0096c9e0 100644 --- a/test/echo-fork.c +++ b/test/echo-fork.c @@ -1,4 +1,9 @@ #define _GNU_SOURCE + +#ifdef NDEBUG +#undef NDEBUG +#endif + #include #include #include @@ -169,7 +174,7 @@ static int main2(void) { } -int main() { +int main(void) { meshlink_set_log_cb(NULL, MESHLINK_WARNING, log_cb); // Initialize and exchange configuration.