Skip to content

Commit 66b8a9a

Browse files
committed
Enable forceinline again for MingGW and Clang
1 parent 87d8c10 commit 66b8a9a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/boost/interprocess/detail/workaround.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
#elif defined(BOOST_MSVC) && (_MSC_VER < 1900 || defined(_DEBUG))
232232
//"__forceinline" and MSVC seems to have some bugs in old versions and in debug mode
233233
#define BOOST_INTERPROCESS_FORCEINLINE inline
234-
#elif defined(BOOST_CLANG) || (defined(BOOST_GCC) && ((__GNUC__ <= 5) || defined(__MINGW32__)))
234+
#elif defined(BOOST_GCC) && (__GNUC__ <= 5)
235235
//Older GCCs have problems with forceinline
236236
//Clang can have code bloat issues with forceinline, see
237237
//https://lists.boost.org/boost-users/2023/04/91445.php and

0 commit comments

Comments
 (0)