Merge pull request #1410 from murgatroid99/core_ios_thread_local_fix

Fix thread local storage error in iOS build
pull/1412/head
Craig Tiller 10 years ago
commit dce7a12941
  1. 3
      include/grpc/support/port_platform.h

@ -136,11 +136,12 @@
#endif
#if TARGET_OS_IPHONE
#define GPR_CPU_IPHONE 1
#define GPR_PTHREAD_TLS 1
#else /* TARGET_OS_IPHONE */
#define GPR_CPU_POSIX 1
#define GPR_GCC_TLS 1
#endif
#define GPR_GCC_ATOMIC 1
#define GPR_GCC_TLS 1
#define GPR_POSIX_LOG 1
#define GPR_POSIX_MULTIPOLL_WITH_POLL 1
#define GPR_POSIX_WAKEUP_FD 1

Loading…
Cancel
Save