diff options
author | cbdev <cb@cbcdn.com> | 2019-09-04 20:26:24 +0200 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2019-09-04 20:26:24 +0200 |
commit | 49855046f683deb7fdadc2c3d8caf513099b4803 (patch) | |
tree | b10278bd6fab9cc24c4b73b2ef60a7e912ae0064 /portability.h | |
parent | 191949152d803229275d7b98b184ff722a9549a2 (diff) | |
download | midimonster-49855046f683deb7fdadc2c3d8caf513099b4803.tar.gz midimonster-49855046f683deb7fdadc2c3d8caf513099b4803.tar.bz2 midimonster-49855046f683deb7fdadc2c3d8caf513099b4803.zip |
Use platform-independent specifiers for printf calls
Diffstat (limited to 'portability.h')
-rw-r--r-- | portability.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/portability.h b/portability.h index 903ecd8..f0bfd07 100644 --- a/portability.h +++ b/portability.h @@ -35,4 +35,8 @@ #define htole64(x) (x) #define be64toh(x) _byteswap_uint64(x) #define le64toh(x) (x) + + #define PRIsize_t "Iu" +#else + #define PRIsize_t "zu" #endif |