summaryrefslogtreecommitdiff
path: root/boost/detail/winapi/mutex.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/detail/winapi/mutex.hpp')
-rw-r--r--boost/detail/winapi/mutex.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/detail/winapi/mutex.hpp b/boost/detail/winapi/mutex.hpp
index 8f1975ca5c..37b21a444c 100644
--- a/boost/detail/winapi/mutex.hpp
+++ b/boost/detail/winapi/mutex.hpp
@@ -85,13 +85,15 @@ using ::ReleaseMutex;
#if defined( BOOST_USE_WINDOWS_H )
const DWORD_ MUTEX_ALL_ACCESS_ = MUTEX_ALL_ACCESS;
+const DWORD_ MUTEX_MODIFY_STATE_ = MUTEX_MODIFY_STATE;
#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6
const DWORD_ CREATE_MUTEX_INITIAL_OWNER_ = CREATE_MUTEX_INITIAL_OWNER;
#endif
#else // defined( BOOST_USE_WINDOWS_H )
-const DWORD_ MUTEX_ALL_ACCESS_ = 0x1F0001;
+const DWORD_ MUTEX_ALL_ACCESS_ = 0x001F0001;
+const DWORD_ MUTEX_MODIFY_STATE_ = 0x00000001;
#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6
const DWORD_ CREATE_MUTEX_INITIAL_OWNER_ = 0x00000001;
#endif
@@ -99,6 +101,7 @@ const DWORD_ CREATE_MUTEX_INITIAL_OWNER_ = 0x00000001;
#endif // defined( BOOST_USE_WINDOWS_H )
const DWORD_ mutex_all_access = MUTEX_ALL_ACCESS_;
+const DWORD_ mutex_modify_state = MUTEX_MODIFY_STATE_;
#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6
const DWORD_ create_mutex_initial_owner = CREATE_MUTEX_INITIAL_OWNER_;
#endif