summaryrefslogtreecommitdiff
path: root/compiler.h
diff options
context:
space:
mode:
authorHal Murray <hmurray@megapathdsl.net>2015-03-24 13:53:36 -0700
committerGary E. Miller <gem@rellim.com>2015-03-24 13:53:36 -0700
commite71d3373bc8b2979f32e40629401baafb7b41f5c (patch)
treef9eb6971ba56bdfdaac2423370303695fa5e6bba /compiler.h
parent40cb0dfdd5f412403c0fcef8c00cb269966a0f7b (diff)
downloadgpsd-e71d3373bc8b2979f32e40629401baafb7b41f5c.tar.gz
Typo STD_ATOMIC_H -> _STDATOMIC_H
Diffstat (limited to 'compiler.h')
-rw-r--r--compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler.h b/compiler.h
index 4fde42db..53902dc2 100644
--- a/compiler.h
+++ b/compiler.h
@@ -81,7 +81,7 @@ static /*@unused@*/ inline void memory_barrier(void)
/* prevent instruction reordering across any call to this function */
{
#ifndef S_SPLINT_S
-#ifdef STD_ATOMIC_H
+#ifdef _STDATOMIC_H
#ifndef __COVERITY__
atomic_thread_fence(memory_order_seq_cst);
#endif /* __COVERITY__ */