]> pd.if.org Git - pdclib/blobdiff - platform/win32/functions/threads/mtx_init.c
PDCLib includes with quotes, not <>.
[pdclib] / platform / win32 / functions / threads / mtx_init.c
index 19db3908dc0430cfa6b08be47877014999782565..72055519128933d52d93dcbfb3e3feb94d9bca02 100644 (file)
@@ -11,7 +11,6 @@ int mtx_init(mtx_t *mtx, int type)
     if(mtx->_WaitEvHandle == NULL)\r
         return thrd_error;\r
     \r
-    mtx->_State        = -1;\r
     mtx->_ThreadId     = 0;\r
     mtx->_NestCount    = 0;;\r
 \r
@@ -20,7 +19,7 @@ int mtx_init(mtx_t *mtx, int type)
 #endif\r
 \r
 #ifdef TEST\r
-#include <_PDCLIB_test.h>\r
+#include "_PDCLIB_test.h"\r
 \r
 int main( void )\r
 {\r