Skip to content

Commit 7865b70

Browse files
authored
Merge pull request #780 from cppalliance/fix_macro
2 parents 5d918fe + 06c2a26 commit 7865b70

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/format.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <boost/decimal.hpp>
1212
#include <iostream>
1313

14-
#ifdef BOOST_CRYPT_HAS_FORMAT_SUPPORT
14+
#ifdef BOOST_DECIMAL_HAS_FORMAT_SUPPORT
1515

1616
#include <format>
1717

include/boost/decimal/format.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#if (__cplusplus >= 202002L || (defined(_MSVC_LANG) && _MSVC_LANG >= 202002L)) && !defined(BOOST_DECIMAL_DISABLE_CLIB) && \
1010
((defined(__GNUC__) && __GNUC__ >= 13) || (defined(__clang__) && __clang_major__ >= 18) || (defined(_MSC_VER) && _MSC_VER >= 1940))
1111

12-
#define BOOST_CRYPT_HAS_FORMAT_SUPPORT
12+
#define BOOST_DECIMAL_HAS_FORMAT_SUPPORT
1313

1414
#include <boost/decimal/charconv.hpp>
1515
#include <algorithm>

test/test_format.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
using namespace boost::decimal;
1616

17-
#ifdef BOOST_CRYPT_HAS_FORMAT_SUPPORT
17+
#ifdef BOOST_DECIMAL_HAS_FORMAT_SUPPORT
1818

1919
template <BOOST_DECIMAL_DECIMAL_FLOATING_TYPE T>
2020
void test_general()

0 commit comments

Comments
 (0)