]> pd.if.org Git - pdclib/blobdiff - opt/nothread/cnd_signal.c
Moved the C locale implementation into main code base. None of these are really optio...
[pdclib] / opt / nothread / cnd_signal.c
index ca6a7891f06268eb8c5b02ef114e8c5a1e077464..275ba16ff8d41734d10122fca74216b5b88da064 100644 (file)
@@ -1,6 +1,18 @@
-#include <threads.h>\r
-\r
-int cnd_signal(cnd_t *cond)\r
-{\r
-       return thrd_success;\r
-}
\ No newline at end of file
+#ifndef REGTEST
+#include <threads.h>
+
+int cnd_signal(cnd_t *cond)
+{
+       return thrd_success;
+}
+#endif
+
+#ifdef TEST
+#include "_PDCLIB_test.h"
+
+int main( void )
+{
+    return TEST_RESULTS;
+}
+
+#endif