The updated patch for 2.04 compiles on Mac OS X 10.4.8/Apple
Developer Tools 2.3:
cloop-2.04-1+eb.1 twilsonb$ diff -b -B -c
extract_compressed_fs_macosx.c extract_compressed_fs.c
*** extract_compressed_fs_macosx.c Mon Dec 4 12:24:00 2006
--- extract_compressed_fs.c Mon Aug 7 03:05:25 2006
***************
*** 5,28 ****
#include <stdlib.h>
#include <sys/stat.h>
#include <fcntl.h>
-
- /*Mac OS X does not have endian.h*/
- #if defined(__APPLE__)
- #include <architecture/byte_order.h>
- #else
#include <endian.h>
- #endif
-
#include <errno.h>
#include <string.h>
#include <zlib.h>
#include <netinet/in.h>
! /*Mac OS X does not have loff_t*/
! #if defined(__CYGWIN__) || defined(__APPLE__)
typedef uint64_t loff_t;
#endif
-
#ifndef be64toh
static __inline __uint64_t
__bswap64(__uint64_t _x)
--- 5,19 ----
#include <stdlib.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <endian.h>
#include <errno.h>
#include <string.h>
#include <zlib.h>
#include <netinet/in.h>
! #ifdef __CYGWIN__
typedef uint64_t loff_t;
#endif
#ifndef be64toh
static __inline __uint64_t
__bswap64(__uint64_t _x)
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]