Skip to content

Commit

Permalink
Suppress a bogus MSVC warning
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaut committed Sep 5, 2024
1 parent f1e3016 commit a2c290b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/fmt.cc
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
module;

#ifdef _MSVC_LANG
# define FMT_CPLUSPLUS _MSVC_LANG
#else
# define FMT_CPLUSPLUS __cplusplus
#endif

// Put all implementation-provided headers into the global module fragment
// to prevent attachment to this module.
#ifndef FMT_IMPORT_STD
Expand All @@ -15,7 +21,9 @@ module;
# include <cstring>
# include <ctime>
# include <exception>
# include <expected>
# if FMT_CPLUSPLUS > 202002L
# include <expected>
# endif
# include <filesystem>
# include <fstream>
# include <functional>
Expand Down

0 comments on commit a2c290b

Please sign in to comment.