Skip to content

Commit 980c08d

Browse files
util: Remove unused (u)int64_t formatting macros
We should anyway prefer to use the predefined macros from <inttypes.h>. If I haven't missed anything, this removes the last OS-specific #if, leaving us only with compiler-specific #if(def)s.
1 parent 9b7c59c commit 980c08d

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/util.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -192,14 +192,6 @@ static SECP256K1_INLINE void *checked_malloc(const secp256k1_callback* cb, size_
192192
# endif
193193
#endif
194194

195-
#if defined(_WIN32)
196-
# define I64FORMAT "I64d"
197-
# define I64uFORMAT "I64u"
198-
#else
199-
# define I64FORMAT "lld"
200-
# define I64uFORMAT "llu"
201-
#endif
202-
203195
#if defined(__GNUC__)
204196
# define SECP256K1_GNUC_EXT __extension__
205197
#else

0 commit comments

Comments
 (0)