projects
/
platform
/
upstream
/
openblas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
791e046
)
Update conditional for atomics to HAVE_C11
author
Martin Kroeker
<martin@ruby.chemie.uni-freiburg.de>
Sat, 18 Jul 2020 17:07:38 +0000
(17:07 +0000)
committer
GitHub
<noreply@github.com>
Sat, 18 Jul 2020 17:07:38 +0000
(17:07 +0000)
driver/others/memory.c
patch
|
blob
|
history
diff --git
a/driver/others/memory.c
b/driver/others/memory.c
index a5595aed43b697709b46872860cc43ad3c6047a5..9b6c226a1e982554da25e1ce36bf982f00b252f2 100644
(file)
--- a/
driver/others/memory.c
+++ b/
driver/others/memory.c
@@
-1095,7
+1095,7
@@
static BLASULONG base_address = 0UL;
static BLASULONG base_address = BASE_ADDRESS;
#endif
-#if
__STDC_VERSION__ >= 201112L
+#if
def HAVE_C11
static _Atomic int memory_initialized = 0;
#else
static volatile int memory_initialized = 0;