diff options
Diffstat (limited to 'include/m_system_cpp.h')
-rw-r--r-- | include/m_system_cpp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_system_cpp.h b/include/m_system_cpp.h index 8e887ff13f..de6f6e6789 100644 --- a/include/m_system_cpp.h +++ b/include/m_system_cpp.h @@ -81,8 +81,8 @@ class mir_cslock CRITICAL_SECTION& cs;
public:
- __inline mir_cslock(CRITICAL_SECTION& _cs) : cs(_cs) { EnterCriticalSection(&cs); }
- __inline ~mir_cslock() { LeaveCriticalSection(&cs); }
+ __inline mir_cslock(CRITICAL_SECTION& _cs) : cs(_cs) { ::EnterCriticalSection(&cs); }
+ __inline ~mir_cslock() { ::LeaveCriticalSection(&cs); }
};
///////////////////////////////////////////////////////////////////////////////
|