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
parent
commit
ee13810f3b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      libfuse/lib/fuse_msgbuf.cpp

2
libfuse/lib/fuse_msgbuf.cpp

@ -30,7 +30,7 @@
static std::uint32_t g_PAGESIZE = 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::vector<fuse_msgbuf_t*> g_MSGBUF_STACK;

Loading…
Cancel
Save