Another try at socklen_t: just check for it, and otherwise use int.
[rsync/rsync.git] / rsync.h
diff --git a/rsync.h b/rsync.h
index 29b09b5..e5b5038 100644 (file)
--- a/rsync.h
+++ b/rsync.h
@@ -79,13 +79,6 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 };
 #define RSYNC_RSH "rsh"
 #endif
 
-/* This tries to turn on large file support on some Unix platforms,
- * making off_t be a 64-bit type, and so on.
- * 
- * http://www.rs6000.ibm.com/doc_link/en_US/a_doc_lib/aixprggd/genprogc/prg_lrg_files.htm
- */
-#define _LARGE_FILES 1
-
 #include <sys/types.h>
 
 #ifdef HAVE_UNISTD_H
@@ -263,9 +256,11 @@ enum logcode {FNONE=0, FERROR=1, FINFO=2, FLOG=3 };
 #endif
 
 #if HAVE_SHORT_INO_T
-#define INO_T uint32
+#  define INO_T uint32
+#elif HAVE_INO_T
+#  define INO_T ino_t
 #else
-#define INO_T ino_t
+#  define INO_T unsigned
 #endif
 
 #ifndef MIN