simon-git: putty (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Mon Sep 28 19:56:18 BST 2015


TL;DR:
  675a5ba Include stdint.h (where available) for uintptr_t.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-09-28 19:56:18

commit 675a5baa0f3a9f67474e4f19bc195a0939bbf443
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=675a5baa0f3a9f67474e4f19bc195a0939bbf443;hp=acff0a6fa3c5eaa505422b1861efc93b948ede5b
Author: Simon Tatham <anakin at pobox.com>
Date:   Mon Sep 28 19:52:38 2015 +0100

    Include stdint.h (where available) for uintptr_t.
    
    Commit f2e61275f introduced the use of uintptr_t, without adding an
    include of <stdint.h> which is where the C standard says that type
    should be defined. This didn't cause a build failure, because Visual
    Studio also defines it in <stddef.h> which we do include. But a user
    points out that other Windows toolchains - e.g. MinGW - don't
    necessarily do the same.
    
    I can't add an unconditional include of <stdint.h>, because the VS I
    use for the current official builds doesn't have that header at all.
    So I conditionalise it out for old VS; if it needs throwing out for
    any other toolchain, I'll add further conditions as reports come in.

 windows/winstuff.h |   12 ++++++++++++
 1 file changed, 12 insertions(+)



More information about the tartarus-commits mailing list