diff options
author | rpj <rpj> | 2006-12-22 02:36:40 +0000 |
---|---|---|
committer | rpj <rpj> | 2006-12-22 02:36:40 +0000 |
commit | 9e61bc0571b4812381cf89dd6f4bcbe3931f6acd (patch) | |
tree | 2b60eec9340369ed259a9d1de422ac5ec3eb9291 /sem_init.c | |
parent | 1beb00e609d241ee6c2048c476e2240f05033cbd (diff) |
Diffstat (limited to 'sem_init.c')
-rw-r--r-- | sem_init.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,7 +134,7 @@ sem_init (sem_t * sem, int pshared, unsigned int value) if ((s->sem = CreateSemaphore (NULL, /* Always NULL */ (long) 0, /* Force threads to wait */ - (long) _POSIX_SEM_VALUE_MAX, /* Maximum value */ + (long) SEM_VALUE_MAX, /* Maximum value */ NULL)) == 0) /* Name */ { (void) pthread_mutex_destroy(&s->lock); |