Fix windows build
Change-Id: I0c5fff636ec43d5c1daf888457f77ef214a29566
This commit is contained in:
1 orang tua
94e623181b
melakukan
2f3e9afab7
1 file changed
+1
-1
@@ -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_)];
|
||||
|
||||
Reference in new issue
Block a user