shithub: lwext4

Download patch

ref: 5819cc9f59fa39a85405b704d04540a31fa4b83f
parent: f59c52eeceb89ec75ff09faab2d78e512ac4f75f
author: gkostka <kostka.grzegorz@gmail.com>
date: Fri Oct 16 12:30:49 EDT 2015

Add PRId64 & PRIu64 macros when not defined int inttypes.h

--- 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)