Philippe Niquille wrote:
Hi
With the attached patch, the program compiles just fine on my system -
Mac Mini PowePC with Mac OS X 10.4.11.
It should be noted that while rsyncrypto compiles just fine, it cannot
run properly because the system has no gzip with --rsyncable support. If
you have a source for such a gzip for Mac, please let me know.
Shachar
Index: precomp.h
===================================================================
--- precomp.h (revision 545)
+++ precomp.h (working copy)
@@ -91,7 +91,7 @@
#include "autoarray.h"
#include "rcserror.h"
-#if defined(__unix__)
+#if defined(__unix__) || defined(__APPLE__)
#include "autofd.h"
#include "autommap.h"
#elif defined(_WIN32)
Index: rsyncrypto.h
===================================================================
--- rsyncrypto.h (revision 545)
+++ rsyncrypto.h (working copy)
@@ -96,11 +96,7 @@
#define EXCEPT_CLASS rscerror
-#include "autoarray.h"
-#if defined(__unix__)
-#include "autofd.h"
-#include "autommap.h"
-#elif defined(_WIN32)
+#if defined(_WIN32)
static inline void ODS(const char *format, ... )
{
@@ -116,10 +112,6 @@
}
#include "win32/types.h"
-#include "win32/autofd.h"
-#include "win32/autommap.h"
-#else
-#error Unsupported platform
#endif
#endif // RSYNCRYPTO_H
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Rsyncrypto-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rsyncrypto-devel