Permalink
Browse files

[osx/ios] both osx and ios can handle this and it will be needed on >…

… 10.4 sdk
  • Loading branch information...
1 parent 80e7c22 commit 21362b75c5a10ecd4d40f52ac312fd842a387c30 @davilla committed May 9, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 xbmc/cores/DllLoader/exports/wrapper.c
@@ -37,14 +37,14 @@
#include <dirent.h>
#endif
-#if defined(__APPLE__) || defined(__FreeBSD__)
+#if defined(TARGET_DARWIN) || defined(__FreeBSD__)
typedef int64_t off64_t;
typedef off_t __off_t;
typedef off64_t __off64_t;
typedef fpos_t fpos64_t;
#define stat64 stat
#define statvfs64 statvfs
-#if defined(__arm__)
+#if defined(TARGET_DARWIN)
#define _G_va_list va_list
#endif
#endif

0 comments on commit 21362b7

Please sign in to comment.