Changing ifdef for OSX pthread barriers

This commit is contained in:
Tyler Michael Smith
2016-04-18 03:12:57 -05:00
parent dd62080cea
commit cbcd0b739d
2 changed files with 3 additions and 3 deletions

View File

@@ -36,7 +36,7 @@
#ifdef BLIS_ENABLE_PTHREADS
#ifndef _POSIX_BARRIERS
#ifdef __APPLE__
int pthread_barrier_init(pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count)
{

View File

@@ -39,7 +39,7 @@
#include <pthread.h>
#if !_POSIX_BARRIER
#ifdef __APPLE__
typedef int pthread_barrierattr_t;
struct pthread_barrier_s
@@ -55,7 +55,7 @@ typedef struct pthread_barrier_s pthread_barrier_t;
int pthread_barrier_init(pthread_barrier_t *barrier, const pthread_barrierattr_t *attr, unsigned int count);
int pthread_barrier_destroy(pthread_barrier_t *barrier);
int pthread_barrier_wait(pthread_barrier_t *barrier);
#endif // __APPLE__
#endif
struct thread_comm_s
{