Browse Source

thread_local appears to be unavailable on ARMV7 iOS

pull/2537/head
Martin Kroeker GitHub 6 years ago
parent
commit
abfc80a5e2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      driver/level2/gemv_thread.c

+ 2
- 2
driver/level2/gemv_thread.c View File

@@ -72,9 +72,9 @@
defined __BORLANDC__ )
# define thread_local __declspec(thread)
/* note that ICC (linux) and Clang are covered by __GNUC__ */
# elif defined __GNUC__ || \
# elif (defined __GNUC__ || \
defined __SUNPRO_C || \
defined __xlC__
defined __xlC__) && !defined(__APPLE__)
# define thread_local __thread
# else
# define UNSAFE


Loading…
Cancel
Save