forked from fmtlib/fmt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add an option to avoid wchar APIs on Windows
With this, fmt can be used on Windows 98 and the Original Xbox with: set(FMT_OS OFF) `FMT_WINDOWS_NO_WCHAR` is detected automatically in 2 cases: 1. Missing `<io.h>` on the original Xbox 2. A defined `WINVER` on properly configured Windows projects In other cases, one can `add_definitions(FMT_WINDOWS_NO_WCHAR)` in the fmt subproject. Fixes fmtlib#3631
- Loading branch information
Showing
3 changed files
with
15 additions
and
6 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