forked from fmtlib/fmt
Wrap private module fragment content within conditional extern "C++", to match declarations. (#4083)
This commit is contained in:
@@ -127,9 +127,17 @@ extern "C++" {
|
|||||||
module :private;
|
module :private;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef FMT_ATTACH_TO_GLOBAL_MODULE
|
||||||
|
extern "C++" {
|
||||||
|
#endif
|
||||||
|
|
||||||
#if FMT_HAS_INCLUDE("format.cc")
|
#if FMT_HAS_INCLUDE("format.cc")
|
||||||
# include "format.cc"
|
# include "format.cc"
|
||||||
#endif
|
#endif
|
||||||
#if FMT_OS && FMT_HAS_INCLUDE("os.cc")
|
#if FMT_OS && FMT_HAS_INCLUDE("os.cc")
|
||||||
# include "os.cc"
|
# include "os.cc"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef FMT_ATTACH_TO_GLOBAL_MODULE
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
Reference in New Issue
Block a user