aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erts/emulator/beam/sys.h2
-rw-r--r--erts/include/internal/ethread_inline.h2
2 files changed, 1 insertions, 3 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h
index 24b6738e08..c261c8e117 100644
--- a/erts/emulator/beam/sys.h
+++ b/erts/emulator/beam/sys.h
@@ -66,8 +66,6 @@
#ifndef ERTS_NOINLINE
# if ERTS_AT_LEAST_GCC_VSN__(3,1,1)
# define ERTS_NOINLINE __attribute__((__noinline__))
-# elif defined(__WIN32__)
-# define ERTS_NOINLINE __declspec(noinline)
# else
# define ERTS_NOINLINE
# endif
diff --git a/erts/include/internal/ethread_inline.h b/erts/include/internal/ethread_inline.h
index f25ba4ae72..791d7fa0ff 100644
--- a/erts/include/internal/ethread_inline.h
+++ b/erts/include/internal/ethread_inline.h
@@ -70,7 +70,7 @@
#elif defined(__WIN32__)
# define ETHR_INLINE __forceinline
# define ETHR_FORCE_INLINE __forceinline
-# define ETHR_NOINLINE __declspec(noinline)
+# define ETHR_NOINLINE
#endif
#endif /* #ifndef ETHREAD_INLINE_H__ */