Browse Source
Merge pull request #1207 from trapexit/atomic
Fix build on older distros due to std::atomic definitions
pull/1208/head
trapexit
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
libfuse/lib/fuse_msgbuf.cpp
|
@ -30,7 +30,7 @@ |
|
|
static std::uint32_t g_PAGESIZE = 0; |
|
|
static std::uint32_t g_PAGESIZE = 0; |
|
|
static std::uint32_t g_BUFSIZE = 0; |
|
|
static std::uint32_t g_BUFSIZE = 0; |
|
|
|
|
|
|
|
|
static std::atomic_uint64_t g_MSGBUF_ALLOC_COUNT; |
|
|
|
|
|
|
|
|
static std::atomic<std::uint_fast64_t> g_MSGBUF_ALLOC_COUNT; |
|
|
|
|
|
|
|
|
static std::mutex g_MUTEX; |
|
|
static std::mutex g_MUTEX; |
|
|
static std::vector<fuse_msgbuf_t*> g_MSGBUF_STACK; |
|
|
static std::vector<fuse_msgbuf_t*> g_MSGBUF_STACK; |
|
|