]> pd.if.org Git - pdclib/blobdiff - opt/nothread/cnd_signal.c
PDCLib includes with quotes, not <>.
[pdclib] / opt / nothread / cnd_signal.c
index ca6a7891f06268eb8c5b02ef114e8c5a1e077464..2492d82a9dbc505aad1d681094c488f7595bfa35 100644 (file)
@@ -1,6 +1,18 @@
+#ifndef REGTEST\r
 #include <threads.h>\r
 \r
 int cnd_signal(cnd_t *cond)\r
 {\r
        return thrd_success;\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