]> pd.if.org Git - pdclib/blobdiff - platform/win32/functions/threads/mtx_lock.c
PDCLib includes with quotes, not <>.
[pdclib] / platform / win32 / functions / threads / mtx_lock.c
index 59e716dc0232c0f56e3584b1d867705e1dcbbf64..b76c8ec5ad66d7c0efa4c3208f5894b7f918a754 100644 (file)
@@ -6,7 +6,7 @@ int mtx_lock(mtx_t *mtx)
 {\r
     DWORD myId = GetCurrentThreadId();\r
 \r
-    if(mtx->_ThreadId == myId) {\r
+    if(mtx->_ThreadId == (long) myId) {\r
         mtx->_NestCount++;\r
         return thrd_success;\r
     }\r
@@ -24,7 +24,7 @@ int mtx_lock(mtx_t *mtx)
 #endif\r
 \r
 #ifdef TEST\r
-#include <_PDCLIB_test.h>\r
+#include "_PDCLIB_test.h"\r
 \r
 int main( void )\r
 {\r