summaryrefslogtreecommitdiff
path: root/src/atomicvar.h
diff options
context:
space:
mode:
authorYossi Gottlieb <yossigo@gmail.com>2020-12-13 17:09:54 +0200
committerGitHub <noreply@github.com>2020-12-13 17:09:54 +0200
commit86e3395c117d9450d52ee3ebbc62c386d11f1b79 (patch)
treef01054125b9bf5db15095382a318c8f7d45804d6 /src/atomicvar.h
parentf74c32cad27fcd078f7bb8517c87be178e7339eb (diff)
downloadredis-86e3395c117d9450d52ee3ebbc62c386d11f1b79.tar.gz
Several (mostly Solaris-related) cleanups (#8171)
* Allow runtest-moduleapi use a different 'make', for systems where GNU Make is 'gmake'. * Fix issue with builds on Solaris re-building everything from scratch due to CFLAGS/LDFLAGS not stored. * Fix compile failure on Solaris due to atomicvar and a bunch of warnings. * Fix garbled log timestamps on Solaris.
Diffstat (limited to 'src/atomicvar.h')
-rw-r--r--src/atomicvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atomicvar.h b/src/atomicvar.h
index 6ac04c605..222b82699 100644
--- a/src/atomicvar.h
+++ b/src/atomicvar.h
@@ -105,7 +105,7 @@
atomic_store_explicit(&var,value,memory_order_seq_cst)
#define REDIS_ATOMIC_API "c11-builtin"
-#elif !defined(__ATOMIC_VAR_FORCE_SYNC_MACROS) && !defined(__sun) && \
+#elif !defined(__ATOMIC_VAR_FORCE_SYNC_MACROS) && \
(!defined(__clang__) || !defined(__APPLE__) || __apple_build_version__ > 4210057) && \
defined(__ATOMIC_RELAXED) && defined(__ATOMIC_SEQ_CST)
/* Implementation using __atomic macros. */