diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-06-13 11:14:20 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-06-13 11:14:20 +0000 |
commit | 269143e168709eeb3d63a05f9a5549c6893fc636 (patch) | |
tree | 199cdda5a7c79dd5ea88d94c19d7c99632576248 /usr.bin/file | |
parent | 1887e44cc56fc14bafdf72c81567c87eafc459b5 (diff) |
Define SIZEOF_LONG_LONG in config.h, so that the byteswapping code in ELF
specific parsing works correctly on BE64 systems.
Diffstat (limited to 'usr.bin/file')
-rw-r--r-- | usr.bin/file/config.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/usr.bin/file/config.h b/usr.bin/file/config.h index 68a861e5c08..09251bd081c 100644 --- a/usr.bin/file/config.h +++ b/usr.bin/file/config.h @@ -4,7 +4,7 @@ * but can still carefully import stuff from Christos' version. * * This file is in the public domain. Original Author Ian F. Darwin. - * $OpenBSD: config.h,v 1.4 2009/04/24 18:54:34 chl Exp $ + * $OpenBSD: config.h,v 1.5 2009/06/13 11:14:19 miod Exp $ */ /* header file issues. */ @@ -25,11 +25,7 @@ #define HAVE_SNPRINTF /* Compiler issues */ -#define HAVE_LONG_LONG 1 -#define SIZEOF_UINT8_T 1 -#define SIZEOF_UINT16_T 2 -#define SIZEOF_UINT32_T 4 -#define SIZEOF_UINT64_T 8 +#define SIZEOF_LONG_LONG 8 /* Library issues */ #define HAVE_GETOPT_LONG 1 /* in-tree as of 3.2 */ |