diff options
Diffstat (limited to 'boost/detail/winapi/condition_variable.hpp')
-rw-r--r-- | boost/detail/winapi/condition_variable.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/boost/detail/winapi/condition_variable.hpp b/boost/detail/winapi/condition_variable.hpp index b47a537158..7182d756a0 100644 --- a/boost/detail/winapi/condition_variable.hpp +++ b/boost/detail/winapi/condition_variable.hpp @@ -57,6 +57,13 @@ namespace winapi { typedef struct BOOST_DETAIL_WINAPI_MAY_ALIAS _RTL_CONDITION_VARIABLE { PVOID_ Ptr; } CONDITION_VARIABLE_, *PCONDITION_VARIABLE_; + +#if defined( BOOST_USE_WINDOWS_H ) +#define BOOST_DETAIL_WINAPI_CONDITION_VARIABLE_INIT CONDITION_VARIABLE_INIT +#else +#define BOOST_DETAIL_WINAPI_CONDITION_VARIABLE {0} +#endif + struct _RTL_CRITICAL_SECTION; struct _RTL_SRWLOCK; |