Overview
Comment: | Disable compiler TLS on iOS 9 simulator |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
d654e38e7e65f56ca28e782c37b426c1 |
User & Date: | js on 2017-12-23 18:21:44 |
Other Links: | manifest | tags |
Context
2017-12-23
| ||
20:35 | Implement fallback to NS*SearchPathEnumeration check-in: 4e926dc017 user: js tags: trunk | |
18:21 | Disable compiler TLS on iOS 9 simulator check-in: d654e38e7e user: js tags: trunk | |
2017-11-26
| ||
14:29 | OFData: Change no copy handling check-in: 6cf7d6c33e user: js tags: trunk | |
Changes
Modified src/macros.h from [63c7ed2d2c] to [0b9271918b].
︙ | ︙ | |||
64 65 66 67 68 69 70 71 72 73 74 75 76 77 | # define thread_local _Thread_local # endif #elif defined(OF_HAVE___THREAD) # define OF_HAVE_COMPILER_TLS # define thread_local __thread #endif #ifdef __GNUC__ # define OF_INLINE inline __attribute__((__always_inline__)) # define OF_LIKELY(cond) (__builtin_expect(!!(cond), 1)) # define OF_UNLIKELY(cond) (__builtin_expect(!!(cond), 0)) # define OF_CONST_FUNC __attribute__((__const__)) # define OF_NO_RETURN_FUNC __attribute__((__noreturn__)) # define OF_WEAK_REF(sym) __attribute__((__weakref__(sym))) | > > > > > > > > | 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | # define thread_local _Thread_local # endif #elif defined(OF_HAVE___THREAD) # define OF_HAVE_COMPILER_TLS # define thread_local __thread #endif /* * Do not use compiler TLS when targeting the iOS simulator, as the iOS 9 * simulator does not support it (fails at runtime). */ #if defined(OF_HAVE_COMPILER_TLS) && defined(OF_IOS) && defined(OF_X86) # undef OF_HAVE_COMPILER_TLS #endif #ifdef __GNUC__ # define OF_INLINE inline __attribute__((__always_inline__)) # define OF_LIKELY(cond) (__builtin_expect(!!(cond), 1)) # define OF_UNLIKELY(cond) (__builtin_expect(!!(cond), 0)) # define OF_CONST_FUNC __attribute__((__const__)) # define OF_NO_RETURN_FUNC __attribute__((__noreturn__)) # define OF_WEAK_REF(sym) __attribute__((__weakref__(sym))) |
︙ | ︙ |