Commit d19ff0b 1 parent 78bb865 commit d19ff0b Copy full SHA for d19ff0b
File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -195,8 +195,8 @@ namespace { void _set_se_translator( void* ) {} }
195
195
#endif
196
196
197
197
#if (!defined(BOOST_MSSTL_VERSION) || (BOOST_MSSTL_VERSION >= 120)) && (!defined(__GLIBC__) || ((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 2))))
198
- // glibc 2.2 - 2.17 required __STDC_FORMAT_MACROS to be defined for use of PRIxPTR
199
- # if defined(__GLIBC__) && !((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 18)))
198
+ // glibc 2.2 - 2.17 required __STDC_FORMAT_MACROS to be defined for use of PRIxPTR, as well as some versions of macOS.
199
+ # if ( defined(__GLIBC__) && !((__GLIBC__ > 2) || ((__GLIBC__ == 2) && (__GLIBC_MINOR__ >= 18)))) || defined(__APPLE__ )
200
200
# ifndef __STDC_FORMAT_MACROS
201
201
# define __STDC_FORMAT_MACROS 1
202
202
# define BOOST_TEST_DEFINED_STDC_FORMAT_MACROS
You can’t perform that action at this time.
0 commit comments