From 980c08df80aa1698bf7e8f1f4f8ecf20078535a8 Mon Sep 17 00:00:00 2001 From: Tim Ruffing Date: Fri, 25 Oct 2024 16:00:25 +0200 Subject: [PATCH] util: Remove unused (u)int64_t formatting macros We should anyway prefer to use the predefined macros from . If I haven't missed anything, this removes the last OS-specific #if, leaving us only with compiler-specific #if(def)s. --- src/util.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/util.h b/src/util.h index 49af867a46..ff9271ede7 100644 --- a/src/util.h +++ b/src/util.h @@ -192,14 +192,6 @@ static SECP256K1_INLINE void *checked_malloc(const secp256k1_callback* cb, size_ # endif #endif -#if defined(_WIN32) -# define I64FORMAT "I64d" -# define I64uFORMAT "I64u" -#else -# define I64FORMAT "lld" -# define I64uFORMAT "llu" -#endif - #if defined(__GNUC__) # define SECP256K1_GNUC_EXT __extension__ #else