Guest User

Untitled

a guest
Dec 29th, 2014
225
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.53 KB | None | 0 0
  1. Index: src/common/common.h
  2. ===================================================================
  3. --- src/common/common.h (revision 60435)
  4. +++ src/common/common.h (working copy)
  5. @@ -220,6 +220,9 @@
  6.  
  7.  #define UNIX
  8.  #define FB_OS OsDarwin
  9. +#ifdef ARM
  10. +#define FB_CPU CpuArm
  11. +#endif /* ARM */
  12.  #ifdef __ppc__
  13.  #define powerpc
  14.  #define FB_CPU CpuPowerPc
  15. Index: src/jrd/license.h
  16. ===================================================================
  17. --- src/jrd/license.h   (revision 60435)
  18. +++ src/jrd/license.h   (working copy)
  19. @@ -125,6 +125,9 @@
  20.  #if defined(__ppc__) || defined(__ppc64__)
  21.  #define FB_PLATFORM     "UP"   // Darwin/PowerPC
  22.  #endif
  23. +#if defined(ARM)
  24. +#define FB_PLATFORM     "ARM"
  25. +#endif
  26.  #endif // DARWIN
  27.  
  28.  #ifndef FB_VERSION
  29. Index: src/remote/inet.cpp
  30. ===================================================================
  31. --- src/remote/inet.cpp (revision 60435)
  32. +++ src/remote/inet.cpp (working copy)
  33. @@ -799,7 +799,7 @@
  34.     gai_hints.ai_family = ((packet || host.hasData() || !ipv6) ? AF_UNSPEC : AF_INET6);
  35.     gai_hints.ai_socktype = SOCK_STREAM;
  36.  
  37. -#ifndef WIN_NT
  38. +#if !defined(WIN_NT) && !defined(__clang__)
  39.     gai_hints.ai_protocol = SOL_TCP;
  40.  #else
  41.     gai_hints.ai_protocol = IPPROTO_TCP;
  42. Index: src/remote/protocol.h
  43. ===================================================================
  44. --- src/remote/protocol.h   (revision 60435)
  45. +++ src/remote/protocol.h   (working copy)
  46. @@ -93,6 +93,7 @@
  47.     arch_netbsd         = 38,
  48.     arch_darwin_ppc     = 39,
  49.     arch_winnt_64       = 40,
  50. +    arch_arm            = 7,
  51.     arch_darwin_x64     = 41,
  52.     arch_darwin_ppc64   = 42,
  53.     arch_max            = 43    // Keep this at the end
  54. Index: src/remote/remote_def.h
  55. ===================================================================
  56. --- src/remote/remote_def.h (revision 60435)
  57. +++ src/remote/remote_def.h (working copy)
  58. @@ -70,6 +70,8 @@
  59.  const P_ARCH ARCHITECTURE  = arch_darwin_x64;
  60.  #elif defined(DARWINPPC64)
  61.  const P_ARCH ARCHITECTURE  = arch_darwin_ppc64;
  62. +#elif defined(ARM)
  63. +const P_ARCH ARCHITECTURE  = arch_arm;
  64.  #endif
  65.  
  66.  
  67. Index: src/yvalve/config/os/darwin/config_root.cpp
  68. ===================================================================
  69. --- src/yvalve/config/os/darwin/config_root.cpp (revision 60435)
  70. +++ src/yvalve/config/os/darwin/config_root.cpp (working copy)
  71. @@ -37,7 +37,7 @@
  72.  #include "../common/os/path_utils.h"
  73.  #include "../common/file_params.h"
  74.  
  75. -#include <CoreServices/CoreServices.h>
  76. +//#include <CoreServices/CoreServices.h>
  77.  #include <CoreFoundation/CFBundle.h>
  78.  #include <CoreFoundation/CFURL.h>
  79.  #include <mach-o/dyld.h>
Advertisement
Add Comment
Please, Sign In to add comment