]> pd.if.org Git - pdclib/blobdiff - opt/nothread/thrd_yield.c
PDCLib includes with quotes, not <>.
[pdclib] / opt / nothread / thrd_yield.c
index 8c7863f643f27e1e7319c41cbae70cd1cdd5d051..0cb99acee7e374d2466f9955a794501095512fb3 100644 (file)
@@ -1,6 +1,18 @@
+#ifndef REGTEST\r
 #include <threads.h>\r
 \r
 void thrd_yield(void)\r
 {\r
        /* does nothing */\r
-}
\ No newline at end of file
+}\r
+#endif\r
+\r
+#ifdef TEST\r
+#include "_PDCLIB_test.h"\r
+\r
+int main( void )\r
+{\r
+    return TEST_RESULTS;\r
+}\r
+\r
+#endif\r