Showing the changes to codec/common/src/WelsThreadLib.cpp (1 of 1 file). Show all
Unified · Split
| @@ -69,6 +69,10 @@ · 68 unmodified lines | |||
| 69 | #ifdef WINAPI_FAMILY | 69 | #ifdef WINAPI_FAMILY |
| 70 | #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) | 70 | #if !WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| 71 | #define InitializeCriticalSection(x) InitializeCriticalSectionEx(x, 0, 0) | 71 | #define InitializeCriticalSection(x) InitializeCriticalSectionEx(x, 0, 0) |
| 72 | #define GetSystemInfo(x) GetNativeSystemInfo(x) | ||
| 73 | #define CreateEvent(attr, reset, init, name) CreateEventEx(attr, name, ((reset) ? CREATE_EVENT_MANUAL_RESET : 0) | ((init) ? CREATE_EVENT_INITIAL_SET : 0), EVENT_ALL_ACCESS) | ||
| 74 | #define WaitForSingleObject(a, b) WaitForSingleObjectEx(a, b, FALSE) | ||
| 75 | #define WaitForMultipleObjects(a, b, c, d) WaitForMultipleObjectsEx(a, b, c, d, FALSE) | ||
| 72 | #endif | 76 | #endif |
| 73 | #endif | 77 | #endif |
| 74 | 78 | ||