Skip to content

Commit

Permalink
Provide fallback definitions of PRIu32 and PRIx32
Browse files Browse the repository at this point in the history
Since 6e1c234 we make use of these C99 constructs, but this commit did
not provide fallbacks for non-C99 systems.

Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Johannes Sixt authored and gitster committed Jul 9, 2008
1 parent 952182b commit 607bb3f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions git-compat-util.h
Expand Up @@ -110,6 +110,14 @@
#define PRIuMAX "llu"
#endif

#ifndef PRIu32
#define PRIu32 "u"
#endif

#ifndef PRIx32
#define PRIx32 "x"
#endif

#ifndef PATH_SEP
#define PATH_SEP ':'
#endif
Expand Down

0 comments on commit 607bb3f

Please sign in to comment.