Document the stat64 compatibility fix.
[adu.git] / gcc-compat.h
index 4ba96ae16da204b760219bded23e55c38053976c..1964e78bfd527d7c9ade762c7473ecc60ba72e93 100644 (file)
  */
 #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