Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rtlib: Add DISABLE_LANGINFO config option, to avoid the langinfo.h he…
…ader. When disabled, just use the default 'C' locale values for month names, etc. Setting this option config option actually makes zero difference normally, because FB only calls setlocale(LC_CTYPE, ""), leaving everything else set to the 'C' locale! This option does not remove the setlocale(LC_CTYPE, "") call, because I found that unnecessary on Android, but it could just as well. I removed locks in unix fb_DrvIntlGetMonthName and fb_DrvIntlGetWeekdayName because nl_langinfo is thread-safe (excluding setlocale calls, which FB_LOCK does not protect against).
- Loading branch information
1 parent
ae0d5f3
commit 2c64639
Showing
7 changed files
with
65 additions
and
12 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
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
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