aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2008-08-26 10:48:52 +0000
committerYang Tse <yangsita@gmail.com>2008-08-26 10:48:52 +0000
commit2fdd24c724eaeddd8a3b299b86b4d4053ced01c8 (patch)
tree83f3ab8fe5c85f7cb5343b6359e01a87e99e60c0 /src/main.c
parent852a02daff914c11c7dba80727bd70dbd7ce5f95 (diff)
Fix default SIZEOF_OFF_T definition logic
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 62c34cbdf..784d1750f 100644
--- a/src/main.c
+++ b/src/main.c
@@ -263,7 +263,8 @@ typedef enum {
# if defined(_LP64) || defined(_LARGE_FILES)
# define SIZEOF_OFF_T 8
# endif
-# else
+# endif
+# ifndef SIZEOF_OFF_T
# define SIZEOF_OFF_T 4
# endif
#endif