X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fthrd_yield.c;h=2d184ce8138d3a9ea922f94deeec55384d68fbb0;hb=cbd1457f23f192e20c9f770f36a0e95edf26475b;hp=840157bdaf2441cb7f80fff871ecf7f3283139a4;hpb=bb22ff7ecd9fe8f4641484df12ad629cd8ee27ac;p=pdclib.old diff --git a/opt/nothread/thrd_yield.c b/opt/nothread/thrd_yield.c index 840157b..2d184ce 100644 --- a/opt/nothread/thrd_yield.c +++ b/opt/nothread/thrd_yield.c @@ -1,9 +1,11 @@ +#ifndef REGTEST #include void thrd_yield(void) { /* does nothing */ } +#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