]> pd.if.org Git - pdclib/blobdiff - platform/win32/functions/threads/mtx_timedlock.c
PDCLib includes with quotes, not <>.
[pdclib] / platform / win32 / functions / threads / mtx_timedlock.c
index 07edc0c82e0463c7beedc2b8198f5fb4f9600130..79c96e9f07c3dbdc621156d87953ce93c54eee3c 100644 (file)
@@ -8,7 +8,7 @@ int mtx_timedlock(mtx_t *_PDCLIB_restrict 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
@@ -48,7 +48,7 @@ int mtx_timedlock(mtx_t *_PDCLIB_restrict mtx,
 #endif\r
 \r
 #ifdef TEST\r
-#include <_PDCLIB_test.h>\r
+#include "_PDCLIB_test.h"\r
 \r
 int main( void )\r
 {\r