Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Visual Studio on ARM Compilation (#1315)
* Fix Visual Studio on ARM Compilation. This fixes Windows on ARM native Visual Studio compilation. The current #ifdef logic assumes that Visual Studio always targets x86/x64, which is no longer the case. Unfortunately based on: https://learn.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=msvc-170 there doesn't seem to be a single macro to test Intel vs ARM compilation. With this change, OpenEXR compiles native to ARM on Windows and passes its test suite. Signed-off-by: Jean-Francois Panisset <[email protected]> * Typo fix Signed-off-by: Jean-Francois Panisset <[email protected]> Signed-off-by: Jean-Francois Panisset <[email protected]>
- Loading branch information