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

Commit

Permalink
fix issue 14617 - Define correct values for PTHREAD_MUTEX_INITIALIZER…
Browse files Browse the repository at this point in the history
… and PTHREAD_ONCE_INIT.
  • Loading branch information
schveiguy committed May 25, 2015
1 parent 6e55b7a commit ab78a53
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 ab78a53

Please sign in to comment.