| diff -ru gnutls-3.6.2.orig/lib/random.c gnutls-3.6.2/lib/random.c |
| |
| |
| @@ -42,8 +42,8 @@ |
| #endif |
| |
| /* Per thread context of random generator, and a flag to indicate initialization */ |
| -static _Thread_local void *gnutls_rnd_ctx; |
| -static _Thread_local unsigned rnd_initialized = 0; |
| +static __thread void *gnutls_rnd_ctx; |
| +static __thread unsigned rnd_initialized = 0; |
| |
| struct rnd_ctx_list_st { |
| void *ctx; |