summaryrefslogtreecommitdiff
path: root/lib/intercept
diff options
context:
space:
mode:
Diffstat (limited to 'lib/intercept')
-rw-r--r--lib/intercept/intercept.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/intercept/intercept.h b/lib/intercept/intercept.h
index 66e8684b..64c42332 100644
--- a/lib/intercept/intercept.h
+++ b/lib/intercept/intercept.h
@@ -22,10 +22,10 @@ extern "C"
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,