Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for building with MSVC for x64 Windows (#33)
* Make lglob not crash when it's built with MSVC x64 The return type of _findfirst is intptr_t. When the target is x64, intptr_t is 64-bit, while long is 32-bit, so using long truncates the result. * Makefile.wnm: don't hardcode the I386 machine type This allows building for either I386 or x64 with the same makefile, by running it in the appropriate environment.
- Loading branch information
Showing
2 changed files
with
3 additions
and
3 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