mingw thread support
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@171 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
baa2869479
commit
da963073d4
3 changed files with 5 additions and 5 deletions
|
@ -62,7 +62,7 @@ namespace Loki
|
|||
{ lval = val; }
|
||||
};
|
||||
|
||||
#ifdef _WINDOWS_
|
||||
#if defined(_WINDOWS_) && defined(_WINDOWS_H) // && defined(__WIN32)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// class template ObjectLevelLockable
|
||||
|
@ -81,7 +81,7 @@ namespace Loki
|
|||
::InitializeCriticalSection(&mtx_);
|
||||
}
|
||||
|
||||
ObjectLevelLockable( const ObjectLevelLockable& )
|
||||
ObjectLevelLockable(const ObjectLevelLockable&)
|
||||
{
|
||||
::InitializeCriticalSection(&mtx_);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue