Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 146c2446 authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Only Windows doesn't have %zd.

Change-Id: Ie09619df212cf7c8aa18a6d46c3e6b6ca3f478cf
parent eb560133
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -41,12 +41,12 @@ static inline ssize_t pread64(int fd, void* buf, size_t nbytes, off64_t offset)
#define DEFFILEMODE 0666
#endif /* _WIN32 */

#if HAVE_PRINTF_ZD
#  define ZD "%zd"
#  define ZD_TYPE ssize_t
#else
#if defined(_WIN32)
#define ZD "%ld"
#define ZD_TYPE long
#else
#define ZD "%zd"
#define ZD_TYPE ssize_t
#endif

/*