[patch] Fix for gcc 3.3.1 (maybe Cygwin-specific)

Jason M. Felice jfelice at cronosys.com
Mon Feb 23 15:50:26 GMT 2004


Cygwin's gcc 3.3.1 doesn't support a 64-bit type and doesn't like this macro
(it causes missing semicolon errors wherever used).

Patch Summary:

    -1   +1    rsync.h
-------------- next part --------------
patchwork diff rsync.h
--- rsync.h	2004-02-23 10:44:40.000000000 -0500
+++ rsync.h	2004-02-23 10:44:45.000000000 -0500
@@ -314,7 +314,7 @@
 #define uint64 unsigned long long
 #else
 /* As long as it gets... */
-#define uint64 unsigned off_t
+#define uint64 unsigned long
 #endif
 
 /* Starting from protocol version 26, we always use 64-bit


More information about the rsync mailing list