{"thread":{"id":"14378","subject":"[PATCH] Provide fallback definitions of PRIu32 and PRIx32","startedAt":"2008-07-09T20:38:14Z","lastAt":"2008-07-09T20:38:14Z","messageCount":1,"participants":["Johannes Sixt"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"82748","messageId":"200807092238.14656.johannes.sixt@telecom.at","threadId":"14378","inReplyTo":null,"subject":"[PATCH] Provide fallback definitions of PRIu32 and PRIx32","fromName":"Johannes Sixt","fromEmail":"johannes.sixt@telecom.at","sentAt":"2008-07-09T20:38:14Z","receivedAt":"2008-07-09T20:38:14Z","isPatch":true,"sender":{"key":"j6t@kdbg.org","avatar":"https://avatars.githubusercontent.com/u/14810926?v=4"},"body":"Since 6e1c23442 we make use of these C99 constructs, but this commit did\nnot provide fallbacks for non-C99 systems.\n\nSigned-off-by: Johannes Sixt <johannes.sixt@telecom.at>\n---\n git-compat-util.h |    8 ++++++++\n 1 files changed, 8 insertions(+), 0 deletions(-)\n\ndiff --git a/git-compat-util.h b/git-compat-util.h\nindex 545df59..8c7e114 100644\n--- a/git-compat-util.h\n+++ b/git-compat-util.h\n@@ -110,6 +110,14 @@\n #define PRIuMAX \"llu\"\n #endif\n \n+#ifndef PRIu32\n+#define PRIu32 \"u\"\n+#endif\n+\n+#ifndef PRIx32\n+#define PRIx32 \"x\"\n+#endif\n+\n #ifndef PATH_SEP\n #define PATH_SEP ':'\n #endif\n-- \n1.5.6.1.216.g8c89b\n"}]}