1
0

CEF changes

This commit is contained in:
Scott E. Graves
2017-03-17 18:57:20 -05:00
parent f647c45712
commit 5eecff152c
127 changed files with 1106 additions and 2210 deletions

View File

@@ -0,0 +1,27 @@
#ifndef FUSE_SEM_FIX_H_
#define FUSE_SEM_FIX_H_
#ifdef __CYGWIN__
#include <semaphore.h>
#ifdef __cplusplus
extern "C" {
#endif
int my_sem_init(sem_t *sem, int pshared, int initial);
int my_sem_destroy(sem_t *sem);
int my_sem_post (sem_t * sem);
int my_sem_wait (sem_t * sem);
#define sem_init my_sem_init
#define sem_destroy my_sem_destroy
#define sem_wait my_sem_wait
#define sem_post my_sem_post
#ifdef __cplusplus
};
#endif
#endif
#endif //FUSE_SEM_FIX_H_