-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
time_r.h: Remove gmtime_r() and localtime_r() wrappers.
It seems these were only ever used in librpbase/TextOut_text.cpp. The UI frontends use functions specific to the UI framework in use. libfmt's <fmt/chrono.h> header has its own fmt::gmtime() and fmt::localtime() wrappers, which do basically the same thing as time_r.h did: _r() if available, or _s() on Windows; and fall back to the non-reentrant version as a last resort. CMakeLists.txt: Remove the gmtime_r() and localtime_r() checks.
- Loading branch information
1 parent
f9ec7d2
commit 137a7c0
Showing
3 changed files
with
1 addition
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters