summaryrefslogtreecommitdiff
path: root/src/include/port/atomics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/port/atomics.h')
-rw-r--r--src/include/port/atomics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/port/atomics.h b/src/include/port/atomics.h
index c2ce10a718f..edb0ae40dc0 100644
--- a/src/include/port/atomics.h
+++ b/src/include/port/atomics.h
@@ -98,6 +98,9 @@
#if !defined(PG_HAVE_ATOMIC_U32_SUPPORT)
#error "could not find an implementation of pg_atomic_uint32"
#endif
+#if !defined(pg_compiler_barrier_impl)
+#error "could not find an implementation of pg_compiler_barrier"
+#endif
/*
* Provide a spinlock-based implementation of the 64 bit variants, if