Skip to content

Commit

Permalink
Cleaned os.h
Browse files Browse the repository at this point in the history
  • Loading branch information
gabime committed Jan 14, 2024
1 parent fbd1ebc commit 0992a41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/spdlog/details/os.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ SPDLOG_API std::tm gmtime() noexcept;

// eol definition and folder separator for the current os
#ifdef _WIN32
constexpr static const char *default_eol = "\r\n";
constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("\\/");
constexpr static const char *default_eol = "\r\n";
constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("\\/");
#else
constexpr static const char *default_eol = "\n";
constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("/");
constexpr static const char *default_eol = "\n";
constexpr static const filename_t::value_type folder_seps_filename[] = SPDLOG_FILENAME_T("/");
#endif

// fopen_s on non windows for writing
Expand Down

0 comments on commit 0992a41

Please sign in to comment.