Fix windows build
Change-Id: I0c5fff636ec43d5c1daf888457f77ef214a29566
Этот коммит содержится в:
коммит произвёл
Matthew Arsenault
родитель
94e623181b
Коммит
2f3e9afab7
@@ -52,7 +52,7 @@ class Semaphore : public HeapObject {
|
||||
|
||||
#ifdef _WIN32
|
||||
void* handle_; //!< The semaphore object's handle.
|
||||
char padding_[64 - state_size - sizeof(handle_))];
|
||||
char padding_[64 - state_size - sizeof(handle_)];
|
||||
#else // !_WIN32
|
||||
sem_t sem_; //!< The semaphore object's identifier.
|
||||
char padding_[64 - state_size - sizeof(sem_)];
|
||||
|
||||
Ссылка в новой задаче
Block a user