Skip to content

Commit 1464f15

Browse files
Merge #1625: util: Remove unused (u)int64_t formatting macros
980c08d util: Remove unused (u)int64_t formatting macros (Tim Ruffing) Pull request description: 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. ACKs for top commit: theStack: utACK 980c08d Tree-SHA512: bcfc962618c6d0343c8231f9ea5ca23029b4e4946c4239cd9732933fe7065963d7c0ef2db60f72b76e0721865a61b8a9957b62398bb2d0b8f6bbc1d25461f1b3
2 parents 9b7c59c + 980c08d commit 1464f15

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)