aboutsummaryrefslogtreecommitdiffstats
path: root/erts/include/internal/win/ethread.h
diff options
context:
space:
mode:
Diffstat (limited to 'erts/include/internal/win/ethread.h')
-rw-r--r--erts/include/internal/win/ethread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/include/internal/win/ethread.h b/erts/include/internal/win/ethread.h
index 3cbd4aeda1..c01b17cf14 100644
--- a/erts/include/internal/win/ethread.h
+++ b/erts/include/internal/win/ethread.h
@@ -25,6 +25,11 @@
#ifndef ETHREAD_WIN_H__
#define ETHREAD_WIN_H__
+#define ETHR_ATOMIC_WANT_32BIT_IMPL__
#include "ethr_atomic.h"
+#if ETHR_SIZEOF_PTR == 8
+# define ETHR_ATOMIC_WANT_64BIT_IMPL__
+# include "ethr_atomic.h"
+#endif
#endif