X-Git-Url: https://pd.if.org/git/?p=pdclib;a=blobdiff_plain;f=opt%2Fnothread%2Ftss_set.c;h=1e8a5eb0ae3ff18115fdc44ba3b1c121e6021ec2;hp=7de3ec5b775527d66e84f01174ce661a81b4d94a;hb=da0f3f353d417fed71f358a48d5d5394145e460d;hpb=5155ca96295a12b4857fc0e6a9629cc43a9a85fa diff --git a/opt/nothread/tss_set.c b/opt/nothread/tss_set.c index 7de3ec5..1e8a5eb 100644 --- a/opt/nothread/tss_set.c +++ b/opt/nothread/tss_set.c @@ -1,3 +1,4 @@ +#ifndef REGTEST #include int tss_set(tss_t key, void *val) @@ -5,9 +6,10 @@ int tss_set(tss_t key, void *val) key.self->value = val; return thrd_success; } +#endif #ifdef TEST -#include <_PDCLIB_test.h> +#include "_PDCLIB_test.h" /* Tested in tss_get.c */ int main( void ) @@ -15,4 +17,4 @@ int main( void ) return TEST_RESULTS; } -#endif \ No newline at end of file +#endif