[mythtv] [mythtv-commits] mythtv commit: r15624 by danielk

Nigel Pearson nigel at ind.tansu.com.au
Mon Jan 28 21:51:21 UTC 2008


Something like this should allow compilation:

% svn diff libmyth/compat.h
Index: libmyth/compat.h
===================================================================
--- libmyth/compat.h    (revision 15634)
+++ libmyth/compat.h    (working copy)
@@ -271,4 +271,11 @@
      typedef int32_t suseconds_t;   // 10.3 or earlier don't have this
  #endif

+// Libdvdnav now uses off64_t lseek64(), which Darwin doesn't have.
+// Luckily, its lseek() is already 64bit compatible
+#ifdef CONFIG_DARWIN
+    typedef off_t off64_t;
+    #define lseek64(f,o,w) lseek(f,o,w)
+#endif
+
  #endif // __COMPAT_H__

--
Nigel Pearson, nigel at ind.tansu.com.au|Well, I own the hotel
Telstra Net. Eng., Sydney, Australia | and I also live in it.
Office: 9202 3900    Fax:  9261 3912 |My life is very much
Mobile: 0408 664435  Home: 9792 6998 |  like Monopoly




More information about the mythtv-dev mailing list