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.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/erts/include/internal/win/ethread.h b/erts/include/internal/win/ethread.h
index b52710f6a3..c01b17cf14 100644
--- a/erts/include/internal/win/ethread.h
+++ b/erts/include/internal/win/ethread.h
@@ -25,7 +25,11 @@
#ifndef ETHREAD_WIN_H__
#define ETHREAD_WIN_H__
+#define ETHR_ATOMIC_WANT_32BIT_IMPL__
#include "ethr_atomic.h"
-#define ETHR_HAVE_NATIVE_ATOMICS 1
+#if ETHR_SIZEOF_PTR == 8
+# define ETHR_ATOMIC_WANT_64BIT_IMPL__
+# include "ethr_atomic.h"
+#endif
#endif