]> pd.if.org Git - pdclib/blobdiff - opt/nothread/tss_set.c
PDCLib includes with quotes, not <>.
[pdclib] / opt / nothread / tss_set.c
index 7de3ec5b775527d66e84f01174ce661a81b4d94a..1e8a5eb0ae3ff18115fdc44ba3b1c121e6021ec2 100644 (file)
@@ -1,3 +1,4 @@
+#ifndef REGTEST\r
 #include <threads.h>\r
 \r
 int tss_set(tss_t key, void *val)\r
@@ -5,9 +6,10 @@ int tss_set(tss_t key, void *val)
        key.self->value = val;\r
        return thrd_success;\r
 }\r
+#endif\r
 \r
 #ifdef TEST\r
-#include <_PDCLIB_test.h>\r
+#include "_PDCLIB_test.h"\r
 \r
 /* Tested in tss_get.c */\r
 int main( void )\r
@@ -15,4 +17,4 @@ int main( void )
     return TEST_RESULTS;\r
 }\r
 \r
-#endif
\ No newline at end of file
+#endif\r