]> pd.if.org Git - pdclib/blobdiff - platform/win32/internals/_PDCLIB_threadconfig.h
win32: Fix warnings relating to definition of LONG and use of InterlockedCompareExchange
[pdclib] / platform / win32 / internals / _PDCLIB_threadconfig.h
index d914ae04d646564db18632f49c62f6b201610a63..0f35d294f94e54632cb6235785fa54b81ea75a6f 100644 (file)
@@ -19,10 +19,9 @@ void _PDCLIB_call_once(_PDCLIB_once_flag *flag, void (*func)(void));
 #define _PDCLIB_MTX_T struct _PDCLIB_mtx \r
 \r
 struct _PDCLIB_mtx {\r
-    void         * _WaitEvHandle;\r
-    volatile   signed long  _State;\r
-    volatile unsigned  int  _ThreadId;\r
-    volatile unsigned  int  _NestCount;\r
+    void                   * _WaitEvHandle;\r
+    volatile          long   _ThreadId; \r
+    volatile unsigned  int   _NestCount;\r
 };\r
 \r
 #define _PDCLIB_TSS_T struct _PDCLIB_tss *\r