Permalink
Browse files

Fix redefinition of struct __local_sem_t

  • Loading branch information...
bfleischer committed Feb 3, 2014
1 parent 1fc97d3 commit c3d83ee24b60564e90440e4b38d58a0a5df8b8ef
Showing with 7 additions and 9 deletions.
  1. +7 −9 compat/darwin_compat.h
View
@@ -10,17 +10,15 @@
/* Semaphores */
struct __local_sem_t
{
unsigned int count;
pthread_mutex_t count_lock;
pthread_cond_t count_cond;
};
typedef struct fuse_sem {
typedef struct darwin_sem {
int id;
union {
struct __local_sem_t local;
struct
{
unsigned int count;
pthread_mutex_t count_lock;
pthread_cond_t count_cond;
} local;
} __data;
} darwin_sem_t;

0 comments on commit c3d83ee

Please sign in to comment.