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