X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fcnd_wait.c;h=54c3917cbf1356d1923cefd0c13b0c849f61240e;hb=3a2027b97e7a6c7ecb9fcd4c24b4c74459faddbc;hp=4c632cc80216eadef4ed7ae8737b2d484b359889;hpb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;p=pdclib.old 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