Browse Source

Update conditional for atomics to use HAVE_C11

tags/v0.3.11^2
Martin Kroeker GitHub 5 years ago
parent
commit
94bab9d1f9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      driver/others/blas_server.c

+ 1
- 1
driver/others/blas_server.c View File

@@ -141,7 +141,7 @@ typedef struct {

} thread_status_t;

#if (__STDC_VERSION__ >= 201112L)
#ifdef HAVE_C11
#define atomic_load_queue(p) __atomic_load_n(p, __ATOMIC_RELAXED)
#define atomic_store_queue(p, v) __atomic_store_n(p, v, __ATOMIC_RELAXED)
#else


Loading…
Cancel
Save