Skip to content
forked from fmtlib/fmt

Commit

Permalink
Merge pull request #174 from fmtlib/master
Browse files Browse the repository at this point in the history
Fix harmless MSVS warning about using undefined _MANAGED symbol (fmtlib#2183)
  • Loading branch information
sthagen authored Mar 17, 2021
2 parents 6b0a81a + 2f3f386 commit fa5db4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/core.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@

#ifndef FMT_USE_INLINE_NAMESPACES
# if FMT_HAS_FEATURE(cxx_inline_namespaces) || FMT_GCC_VERSION >= 404 || \
(FMT_MSC_VER >= 1900 && !_MANAGED)
(FMT_MSC_VER >= 1900 && (!defined(_MANAGED) || !_MANAGED))
# define FMT_USE_INLINE_NAMESPACES 1
# else
# define FMT_USE_INLINE_NAMESPACES 0
Expand Down

0 comments on commit fa5db4d

Please sign in to comment.