projects
/
adu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76c1de7
)
Document the stat64 compatibility fix.
author
Andre Noll
<maan@systemlinux.org>
Wed, 24 Dec 2008 12:13:52 +0000
(13:13 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Wed, 24 Dec 2008 12:13:52 +0000
(13:13 +0100)
gcc-compat.h
patch
|
blob
|
history
diff --git
a/gcc-compat.h
b/gcc-compat.h
index 4ba96ae16da204b760219bded23e55c38053976c..1964e78bfd527d7c9ade762c7473ecc60ba72e93 100644
(file)
--- 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