X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Fcnd_init.c;h=13f1732e4971877e713f9b9e55c234371ce0aa5e;hp=379f28ff1d383b2fd8d95cff6e2f013f5319142f;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa diff --git a/opt/nothread/cnd_init.c b/opt/nothread/cnd_init.c index 379f28f..13f1732 100644 --- a/opt/nothread/cnd_init.c +++ b/opt/nothread/cnd_init.c @@ -1,3 +1,4 @@ +#ifndef REGTEST #include int cnd_init(cnd_t *cond) @@ -5,13 +6,14 @@ int cnd_init(cnd_t *cond) /* does nothing */ return thrd_success; } +#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