OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_SYSTEM_WRAPPERS_SOURCE_CONDITION_VARIABLE_NATIVE_WIN_H_ | 11 #ifndef WEBRTC_SYSTEM_WRAPPERS_SOURCE_CONDITION_VARIABLE_NATIVE_WIN_H_ |
12 #define WEBRTC_SYSTEM_WRAPPERS_SOURCE_CONDITION_VARIABLE_NATIVE_WIN_H_ | 12 #define WEBRTC_SYSTEM_WRAPPERS_SOURCE_CONDITION_VARIABLE_NATIVE_WIN_H_ |
13 | 13 |
14 #include <windows.h> | 14 #include <windows.h> |
15 | 15 |
16 #include "webrtc/system_wrappers/interface/condition_variable_wrapper.h" | 16 #include "webrtc/system_wrappers/include/condition_variable_wrapper.h" |
17 | 17 |
18 namespace webrtc { | 18 namespace webrtc { |
19 | 19 |
20 #if !defined CONDITION_VARIABLE_INIT | 20 #if !defined CONDITION_VARIABLE_INIT |
21 typedef struct RTL_CONDITION_VARIABLE_ { | 21 typedef struct RTL_CONDITION_VARIABLE_ { |
22 void* Ptr; | 22 void* Ptr; |
23 } RTL_CONDITION_VARIABLE, *PRTL_CONDITION_VARIABLE; | 23 } RTL_CONDITION_VARIABLE, *PRTL_CONDITION_VARIABLE; |
24 | 24 |
25 typedef RTL_CONDITION_VARIABLE CONDITION_VARIABLE, *PCONDITION_VARIABLE; | 25 typedef RTL_CONDITION_VARIABLE CONDITION_VARIABLE, *PCONDITION_VARIABLE; |
26 #endif | 26 #endif |
(...skipping 18 matching lines...) Expand all Loading... |
45 ConditionVariableNativeWin(); | 45 ConditionVariableNativeWin(); |
46 | 46 |
47 bool Init(); | 47 bool Init(); |
48 | 48 |
49 CONDITION_VARIABLE condition_variable_; | 49 CONDITION_VARIABLE condition_variable_; |
50 }; | 50 }; |
51 | 51 |
52 } // namespace webrtc | 52 } // namespace webrtc |
53 | 53 |
54 #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_CONDITION_VARIABLE_NATIVE_WIN_H_ | 54 #endif // WEBRTC_SYSTEM_WRAPPERS_SOURCE_CONDITION_VARIABLE_NATIVE_WIN_H_ |
OLD | NEW |