1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Fix a build failure.

When I added a use of PRIx32 to one of Pageant's debugging messages a
couple of days ago, I forgot that one of my build setups can't cope
with inclusion of <inttypes.h>, and somehow also forgot the
precautionary pre-push full build that would have reminded me.
This commit is contained in:
Simon Tatham 2018-11-22 07:05:58 +00:00
parent 13b29008b4
commit fa8f1cd9a0
2 changed files with 1 additions and 1 deletions

1
defs.h
View File

@ -17,6 +17,7 @@
#if defined _MSC_VER && _MSC_VER < 1800
/* Work around lack of inttypes.h in older MSVC */
#define PRIx32 "x"
#define PRIu64 "I64u"
#define SCNu64 "I64u"
#else

View File

@ -5,7 +5,6 @@
#include <stddef.h>
#include <stdlib.h>
#include <assert.h>
#include <inttypes.h>
#include "putty.h"
#include "ssh.h"