X-Git-Url: http://git.tuebingen.mpg.de/?p=adu.git;a=blobdiff_plain;f=gcc-compat.h;h=1964e78bfd527d7c9ade762c7473ecc60ba72e93;hp=4ba96ae16da204b760219bded23e55c38053976c;hb=ca20c17a6742464bcf861fe856a4caddf2bfeab2;hpb=2842e5142322dcc2e42172c28fc041dcc5673dd5 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