From 4d80417123a62a7040d2acedd8052f43df3eacf7 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 24 Dec 2008 13:13:52 +0100 Subject: [PATCH] Document the stat64 compatibility fix. --- gcc-compat.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc-compat.h b/gcc-compat.h index 4ba96ae..1964e78 100644 --- a/gcc-compat.h +++ b/gcc-compat.h @@ -72,7 +72,13 @@ */ #define _static_inline_ static inline +/** + * On systems whihout large file support (BSD) there is no * struct stat64 and + * no lstat64(). + */ #ifndef HAVE_STAT64 -#define stat64 stat -#define lstat64 lstat + /** Use the usual stat structure. */ + #define stat64 stat + /** Use the usual lstat() function. */ + #define lstat64 lstat #endif -- 2.39.5