From: Andre Noll Date: Wed, 24 Dec 2008 12:13:52 +0000 (+0100) Subject: Document the stat64 compatibility fix. X-Git-Tag: v0.1.0~19 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=4d80417123a62a7040d2acedd8052f43df3eacf7;p=adu.git Document the stat64 compatibility fix. --- 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