diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-05-12 13:52:51 +0200 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-05-12 14:01:48 +0200 |
| commit | c3ad56f4e0b587d8d763af03d743fdfc2d180c9b (patch) | |
| tree | 2d2b7e758ff288d0b273a33c9dc942f20e47a631 /src/util.h | |
| parent | Merge pull request #4165 (diff) | |
| parent | Remove dummy PRIszX macros for formatting (diff) | |
| download | discoin-c3ad56f4e0b587d8d763af03d743fdfc2d180c9b.tar.xz discoin-c3ad56f4e0b587d8d763af03d743fdfc2d180c9b.zip | |
Merge pull request #4138
783b182 Remove dummy PRIszX macros for formatting (Wladimir J. van der Laan)
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/util.h b/src/util.h index 011a40e54..27a08716d 100644 --- a/src/util.h +++ b/src/util.h @@ -44,18 +44,6 @@ static const int64_t CENT = 1000000; #define UEND(a) ((unsigned char*)&((&(a))[1])) #define ARRAYLEN(array) (sizeof(array)/sizeof((array)[0])) -/* Format characters for (s)size_t, ptrdiff_t. - * - * Define these as empty as the tinyformat-based formatting system is - * type-safe, no special format characters are needed to specify sizes. - */ -#define PRIszx "x" -#define PRIszu "u" -#define PRIszd "d" -#define PRIpdx "x" -#define PRIpdu "u" -#define PRIpdd "d" - // This is needed because the foreach macro can't get over the comma in pair<t1, t2> #define PAIRTYPE(t1, t2) std::pair<t1, t2> |