Changeset 2299 for box/trunk/lib/intercept/intercept.h
- Timestamp:
- 26/09/2008 21:24:11 (4 years ago)
- File:
-
- 1 edited
-
box/trunk/lib/intercept/intercept.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/lib/intercept/intercept.h
r2183 r2299 24 24 typedef int (closedir_t)(DIR *dir); 25 25 #if defined __GNUC__ && __GNUC__ >= 2 26 #define LINUX_WEIRD_LSTAT 27 #define STAT_STRUCT struct stat /* should be stat64 */ 28 typedef int (lstat_t) (int ver, const char *file_name, 29 STAT_STRUCT *buf); 26 #if _FILE_OFFSET_BITS == 64 27 #define DEFINE_ONLY_OPEN64 28 #endif 29 #define LINUX_WEIRD_LSTAT 30 #define STAT_STRUCT struct stat /* should be stat64 */ 31 typedef int (lstat_t) (int ver, const char *file_name, 32 STAT_STRUCT *buf); 30 33 #else 31 #define STAT_STRUCT struct stat32 typedef int(lstat_t) (const char *file_name,33 STAT_STRUCT *buf);34 #define STAT_STRUCT struct stat 35 typedef int (lstat_t) (const char *file_name, 36 STAT_STRUCT *buf); 34 37 #endif 35 38 }
Note: See TracChangeset
for help on using the changeset viewer.
