summaryrefslogtreecommitdiff
path: root/plugins/SMS/src/AdditionalFunctions
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-04-24 21:25:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-04-24 21:25:59 +0000
commit2a3b48f91c74e4d0115c26af702a4d2ffccfc805 (patch)
tree307b681fa5b1a83db485334d3d24b80d2333c39d /plugins/SMS/src/AdditionalFunctions
parent467d090133efe3ee3bf093954a333928f001c8a5 (diff)
end of zoo with various _WIN32_WINNT versions
git-svn-id: http://svn.miranda-ng.org/main/trunk@13112 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SMS/src/AdditionalFunctions')
-rw-r--r--plugins/SMS/src/AdditionalFunctions/ListMT.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/SMS/src/AdditionalFunctions/ListMT.h b/plugins/SMS/src/AdditionalFunctions/ListMT.h
index 04f2552aaf..15c4b1d8b2 100644
--- a/plugins/SMS/src/AdditionalFunctions/ListMT.h
+++ b/plugins/SMS/src/AdditionalFunctions/ListMT.h
@@ -43,12 +43,7 @@ __inline DWORD ListMTInitialize(PCLIST_MT pclmtListMT,DWORD dwSpinCount)
{
DWORD dwRetErrorCode;
-#if (_WIN32_WINNT >= 0x0403)
if (InitializeCriticalSectionAndSpinCount(&pclmtListMT->cs,((dwSpinCount)? (dwSpinCount | 0x80000000):0L)))
-#else
- InitializeCriticalSection(&pclmtListMT->cs);
- if (TRUE)
-#endif
{
InterlockedExchangePointer((volatile PVOID*)&pclmtListMT->nCount,NULL);
pclmtListMT->plmtiFirst=NULL;
@@ -72,11 +67,7 @@ __inline void ListMTDestroy(PCLIST_MT pclmtListMT)
__inline BOOL ListMTTryLock(PCLIST_MT pclmtListMT)
{
-#if (_WIN32_WINNT >= 0x0400)
return(TryEnterCriticalSection(&pclmtListMT->cs));
-#else
- return(FALSE);
-#endif
}