aboutsummaryrefslogtreecommitdiffstats
path: root/erts/include/internal/tile
diff options
context:
space:
mode:
Diffstat (limited to 'erts/include/internal/tile')
-rw-r--r--erts/include/internal/tile/atomic.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/include/internal/tile/atomic.h b/erts/include/internal/tile/atomic.h
index 69569d82d1..05246a2aa9 100644
--- a/erts/include/internal/tile/atomic.h
+++ b/erts/include/internal/tile/atomic.h
@@ -26,6 +26,10 @@
#include <atomic.h>
+#if ETHR_SIZEOF_LONG != ETHR_SIZEOF_PTR
+# error "Incompatible size of 'long'"
+#endif
+
/* An atomic is an aligned int accessed via locked operations.
*/
typedef struct {