diff options
| author | gkostka <kostka.grzegorz@gmail.com> | 2015-10-16 16:30:49 +0200 |
|---|---|---|
| committer | gkostka <kostka.grzegorz@gmail.com> | 2015-10-16 16:30:49 +0200 |
| commit | 5819cc9f59fa39a85405b704d04540a31fa4b83f (patch) | |
| tree | 4c8b48c6959a296a7cd41b06557bf3efb398e930 | |
| parent | f59c52eeceb89ec75ff09faab2d78e512ac4f75f (diff) | |
Add PRId64 & PRIu64 macros when not defined int inttypes.h
| -rw-r--r-- | lwext4/ext4_debug.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lwext4/ext4_debug.h b/lwext4/ext4_debug.h index f37f6d1..a537ec6 100644 --- a/lwext4/ext4_debug.h +++ b/lwext4/ext4_debug.h @@ -46,6 +46,16 @@ #include <stdint.h> #include <stdio.h> +#include <inttypes.h> + +#ifndef PRIu64 +#define PRIu64 "llu" +#endif + +#ifndef PRId64 +#define PRId64 "lld" +#endif + #define DEBUG_BALLOC (1 << 0) #define DEBUG_BCACHE (1 << 1) |
