Support later Visual Studio releases better #1190
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
This attempts to make the Heimdal builds against later Visual Studio better, by:
include\config.w32
to define thatstdint.h
andinttypes.h
(and the related types) are available, when Visual Studio 2010 or later and Visual Studio 2013 or later are used, respectively, since these headers are shipped with these versions of Visual Studio.windows\NTMakefile.config
andlib\roken\NTMakefile
to reflect on the availability ofstdint.h
andstdbool.h
, which are available since Visual Studio 2010 and Visual Studio 2013, repsectively. As a consequence, the compatibility headers for these headers that comes inlib\roken
is not copied in cases where Visual Studio ships with them). This will fix builds that use Heimdal that is horribly broken when when the systeminttypes.h
is included, as things in the compatibilitystdint.h
will clash with the system'sinttypes.h
badly.makeinfo.exe
call inwindows\NTMakefile.w32
to instead use whatever that that is passed in throught envvars or the NMake command line.With blessings, thank you!