mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-12-22 08:48:55 +00:00
Merge pull request #72 from s3fs-fuse/issue#68
Fixed #68(FreeBSD issue)
This commit is contained in:
commit
1eddf92c35
@ -94,7 +94,9 @@ static void s3fs_crypt_mutex_lock(int mode, int pos, const char* file, int line)
|
||||
|
||||
static unsigned long s3fs_crypt_get_threadid(void)
|
||||
{
|
||||
return static_cast<unsigned long>(pthread_self());
|
||||
// For FreeBSD etc, some system's pthread_t is structure pointer.
|
||||
// Then we use cast like C style(not C++) instead of ifdef.
|
||||
return (unsigned long)(pthread_self());
|
||||
}
|
||||
|
||||
static struct CRYPTO_dynlock_value* s3fs_dyn_crypt_mutex(const char* file, int line)
|
||||
|
Loading…
Reference in New Issue
Block a user