X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Fcnd_wait.c;h=86b70ab663c08f23116686556162086152ce91eb;hp=4c632cc80216eadef4ed7ae8737b2d484b359889;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa diff --git a/opt/nothread/cnd_wait.c b/opt/nothread/cnd_wait.c index 4c632cc..86b70ab 100644 --- a/opt/nothread/cnd_wait.c +++ b/opt/nothread/cnd_wait.c @@ -1,16 +1,18 @@ +#ifndef REGTEST #include int cnd_wait(cnd_t *cond, mtx_t *mtx) { return thrd_error; } +#endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" int main( void ) { return TEST_RESULTS; } -#endif \ No newline at end of file +#endif