summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ioriot/src/datas/rbuffer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ioriot/src/datas/rbuffer.h b/ioriot/src/datas/rbuffer.h
index fa634de..7aeeac1 100644
--- a/ioriot/src/datas/rbuffer.h
+++ b/ioriot/src/datas/rbuffer.h
@@ -19,6 +19,10 @@
#include "../defaults.h"
+#if !defined(__x86_64__)
+#error "rbuffer currently relies on x86_64 memory ordering"
+#endif
+
/**
* @brief An atomic ring buffer data type definition
*