[Box Backup-commit] COMMIT r2345 - box/trunk/lib/intercept
boxbackup-dev at boxbackup.org
boxbackup-dev at boxbackup.org
Sat Oct 11 18:43:46 BST 2008
Author: chris
Date: 2008-10-11 18:43:46 +0100 (Sat, 11 Oct 2008)
New Revision: 2345
Modified:
box/trunk/lib/intercept/intercept.h
Log:
Fix intercept compile problem on Solaris, and hopefully on other platforms
with large file support.
Modified: box/trunk/lib/intercept/intercept.h
===================================================================
--- box/trunk/lib/intercept/intercept.h 2008-10-08 23:33:59 UTC (rev 2344)
+++ box/trunk/lib/intercept/intercept.h 2008-10-11 17:43:46 UTC (rev 2345)
@@ -22,10 +22,10 @@
typedef struct dirent *(readdir_t) (DIR *dir);
typedef struct dirent *(readdir_t) (DIR *dir);
typedef int (closedir_t)(DIR *dir);
+#if _FILE_OFFSET_BITS == 64
+ #define DEFINE_ONLY_OPEN64
+#endif
#if defined __GNUC__ && __GNUC__ >= 2
- #if _FILE_OFFSET_BITS == 64
- #define DEFINE_ONLY_OPEN64
- #endif
#define LINUX_WEIRD_LSTAT
#define STAT_STRUCT struct stat /* should be stat64 */
typedef int (lstat_t) (int ver, const char *file_name,
More information about the Boxbackup-commit
mailing list