Skip to content

Commit

Permalink
Check if .cc exists in fmt.cc
Browse files Browse the repository at this point in the history
After installation, these files no longer exist and cause errors.
  • Loading branch information
yujincheng08 committed Jun 9, 2024
1 parent 2bf811b commit 4166769
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/fmt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ extern "C++" {
module :private;
#endif

#include "format.cc"
#if FMT_OS
#if FMT_HAS_INCLUDE("format.cc")
# include "format.cc"
#endif
#if FMT_OS && FMT_HAS_INCLUDE("os.cc")
# include "os.cc"
#endif

0 comments on commit 4166769

Please sign in to comment.