X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Fmtx_init.c;h=6d48970a75e1c0fe8db3db36caeacf1a0ecd8b80;hp=922c9421f45398231c3bd4619ecc24ee58b1c35e;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa diff --git a/opt/nothread/mtx_init.c b/opt/nothread/mtx_init.c index 922c942..6d48970 100644 --- a/opt/nothread/mtx_init.c +++ b/opt/nothread/mtx_init.c @@ -1,3 +1,4 @@ +#ifndef REGTEST #include int mtx_init(mtx_t *mtx, int type) @@ -5,13 +6,14 @@ int mtx_init(mtx_t *mtx, int type) *mtx = 0; 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