diff options
author | kientzle <kientzle@FreeBSD.org> | 2004-03-20 22:35:33 +0000 |
---|---|---|
committer | kientzle <kientzle@FreeBSD.org> | 2004-03-20 22:35:33 +0000 |
commit | bbabca3fda32c4fe375a96dd6a484df6c4ee27da (patch) | |
tree | 515bcd93ff68d5ca69c220a9a522bbf98501a663 /lib/libarchive/archive_platform.h | |
parent | b4abefb315f13813640f3ee4738e718eece44e45 (diff) | |
download | FreeBSD-src-bbabca3fda32c4fe375a96dd6a484df6c4ee27da.zip FreeBSD-src-bbabca3fda32c4fe375a96dd6a484df6c4ee27da.tar.gz |
Bug: Standard C still requires declarations to precede statements. <sigh>
Portability: Eliminate an accidental __unused, accomodate
systems with non-POSIX strerror_r
Diffstat (limited to 'lib/libarchive/archive_platform.h')
-rw-r--r-- | lib/libarchive/archive_platform.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libarchive/archive_platform.h b/lib/libarchive/archive_platform.h index ee6c08e..0f651e8 100644 --- a/lib/libarchive/archive_platform.h +++ b/lib/libarchive/archive_platform.h @@ -49,6 +49,7 @@ #define HAVE_CHFLAGS 1 #define HAVE_LUTIMES 1 #define HAVE_LCHMOD 1 +#define HAVE_POSIX_STRERROR_R 1 #define ARCHIVE_ERRNO_FILE_FORMAT EFTYPE #define ARCHIVE_ERRNO_PROGRAMMER EINVAL #define ARCHIVE_ERRNO_MISC (-1) @@ -85,6 +86,7 @@ #define st_atimespec st_atim #define st_mtimespec st_mtim #define st_ctimespec st_ctim +#define HAVE_GLIBC_STRERROR_R 1 #endif /* |