forked from doitsujin/dxvk
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[dxgi] Replace MSVC _countof macro with std::size (doitsujin#231)
* [dxgi] Replace MSVC _countof macro with std::size pro: crosscompiler con: may not work for older clang/gcc/... http://en.cppreference.com/w/cpp/iterator/size For example `Run this code` mode produces errors for GCC-5.2(C++17) and clang-3.8(C++17). Local GCC-7.3 and clang-7 versions are ok. Not tested w/ MinGW64. * [dxgi] Replace MSVC _countof macro with std::size
- Loading branch information
Showing
2 changed files
with
2 additions
and
2 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