Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
correctly define {U,}INTPTR_T on 64bit Windows
Fixes crashes on Windows when loading jxr compressed czi files. This library, despite being originally a Windows product, didn't support 64bit Windows at all. There's a special code path for 32bit Windows with handwritten assembler code, which may have worked back then. But the 64bit code path in the generic "ANSI" platform only checked `__LP64__`, which isn't defined by MSVC. Fix this by using `stdint.h`'s `{u},intptr_t` here to get portable code.
- Loading branch information