Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1285 from schveiguy/pthreadmutexosx
Browse files Browse the repository at this point in the history
Fix issue 14617 - PTHREAD_MUTEX_INITIALIZER does not work on OSX
  • Loading branch information
MartinNowak committed May 25, 2015
2 parents 6e55b7a + ab78a53 commit 19f3f0d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/sys/posix/pthread.d
Expand Up @@ -162,8 +162,8 @@ else version( OSX )
PTHREAD_EXPLICIT_SCHED = 2
}

enum PTHREAD_MUTEX_INITIALIZER = pthread_mutex_t.init;
enum PTHREAD_ONCE_INIT = pthread_once_t.init;
enum PTHREAD_MUTEX_INITIALIZER = pthread_mutex_t(0x32AAABA7);
enum PTHREAD_ONCE_INIT = pthread_once_t(0x30b1bcba);

enum
{
Expand Down

0 comments on commit 19f3f0d

Please sign in to comment.