mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-27 07:14:12 +08:00
Cleaned os.h
This commit is contained in:
parent
fbd1ebcebf
commit
0992a41053
@ -23,11 +23,11 @@ SPDLOG_API std::tm gmtime() noexcept;
|
|||||||
|
|
||||||
// eol definition and folder separator for the current os
|
// eol definition and folder separator for the current os
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
constexpr static const char *default_eol = "\r\n";
|
constexpr static const char *default_eol = "\r\n";
|
||||||
constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("\\/");
|
constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("\\/");
|
||||||
#else
|
#else
|
||||||
constexpr static const char *default_eol = "\n";
|
constexpr static const char *default_eol = "\n";
|
||||||
constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("/");
|
constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("/");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// fopen_s on non windows for writing
|
// fopen_s on non windows for writing
|
||||||
|
Loading…
Reference in New Issue
Block a user