commit | 3d74c677c45eccf36b92f7ad4b3317adc1ed06bb | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Sun Jun 28 12:58:19 2020 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Jun 28 14:03:56 2020 -0600 |
tree | 097e1a87fdbef2877ec233da677ffd6da14d196b | |
parent | 56ff6c964c5078d76cb3c2da1a62ad671749fd42 [diff] |
Make the liburing header files again compatible with C++ Include <atomic> instead of <stdatomic.h> if built with a C++ compiler. Fixes: b9c0bf79aa87 ("src/include/liburing/barrier.h: Use C11 atomics") Signed-off-by: Bart Van Assche <bvanassche@acm.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>