X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=opt%2Fnothread%2Fthrd_yield.c;h=55ce0a2a4d3ef6f050fe380fd838731b92452f6b;hb=f60269dfbb4671b3bea11d1257de54bef0c9ffef;hp=840157bdaf2441cb7f80fff871ecf7f3283139a4;hpb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa;p=pdclib diff --git a/opt/nothread/thrd_yield.c b/opt/nothread/thrd_yield.c index 840157b..55ce0a2 100644 --- a/opt/nothread/thrd_yield.c +++ b/opt/nothread/thrd_yield.c @@ -1,16 +1,18 @@ -#include - -void thrd_yield(void) -{ - /* does nothing */ -} - -#ifdef TEST -#include <_PDCLIB_test.h> - -int main( void ) -{ - return TEST_RESULTS; -} - -#endif \ No newline at end of file +#ifndef REGTEST +#include + +void thrd_yield(void) +{ + /* does nothing */ +} +#endif + +#ifdef TEST +#include "_PDCLIB_test.h" + +int main( void ) +{ + return TEST_RESULTS; +} + +#endif