[PATCH] Don't mangle stat64 et al when using the 10.5 SDK
#1
otherwise you wind up with two 'statfs' structs defined (one which should've been statfs64)

Index: xbmc/linux/PlatformDefs.h
===================================================================
--- xbmc/linux/PlatformDefs.h (revision 16965)
+++ xbmc/linux/PlatformDefs.h (working copy)
@@ -314,7 +314,7 @@
#define _O_WRONLY O_WRONLY
#define _off_t off_t

-#ifdef __APPLE__
+#if defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED < 1050
#define __stat64 stat
#define stat64 stat
#define statfs64 statfs
Reply
#2
Please create a ticket on trac and attach the diff.
Reply
#3
Thanks for the patch jeremyhu. Just curious, were you getting a compile error on this?
Reply
#4
Information 
Please submit all and any patches to our trac-based tracking system http://trac.xbmc.org/

Thanks Big Grin
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
[PATCH] Don't mangle stat64 et al when using the 10.5 SDK0