diff options
| author | skrll <skrll@NetBSD.org> | 2013-08-03 13:17:05 +0000 |
|---|---|---|
| committer | skrll <skrll@NetBSD.org> | 2013-08-03 13:17:05 +0000 |
| commit | 55aa635d1efe3a4c55f13ea4c0a6b60da6571393 (patch) | |
| tree | b3eadcf27acaac401a617e4939b862a1a890bcaa /libexec/ld.elf_so/debug.h | |
| parent | 2107df79af1747e1819d7dfa5e741b066739680a (diff) | |
Fix DEBUG build.
Diffstat (limited to 'libexec/ld.elf_so/debug.h')
| -rw-r--r-- | libexec/ld.elf_so/debug.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libexec/ld.elf_so/debug.h b/libexec/ld.elf_so/debug.h index 26e54607d3d..5e78344fb71 100644 --- a/libexec/ld.elf_so/debug.h +++ b/libexec/ld.elf_so/debug.h @@ -1,4 +1,4 @@ -/* $NetBSD: debug.h,v 1.6 2013/05/06 08:02:20 skrll Exp $ */ +/* $NetBSD: debug.h,v 1.7 2013/08/03 13:17:05 skrll Exp $ */ /* * Copyright 1996 John D. Polstra. @@ -55,4 +55,10 @@ extern int debug; # define rdbg(a) ((void) 0) #endif +#if ELFSIZE == 64 +#define PRImemsz PRIu64 +#else +#define PRImemsz PRIu32 +#endif + #endif |
