Skip to content

Commit 187f288

Browse files
committed
Only define BOOSTDECIMAL_ADD_CARRY for Win AMD64
1 parent 532706d commit 187f288

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/boost/decimal/detail/config.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
# ifndef BOOST_DECIMAL_BUILD_MODULE
9191
# include <intrin.h>
9292
# endif
93-
# if defined(_WIN64)
93+
# if defined(_M_AMD64)
9494
# define BOOST_DECIMAL_HAS_MSVC_64BIT_INTRINSICS
9595
# else
9696
# define BOOST_DECIMAL_HAS_MSVC_32BIT_INTRINSICS

0 commit comments

Comments
 (0)