mirror of
https://github.com/shadowsocks/shadowsocks-libev.git
synced 2026-11-03 16:45:53 +00:00
fix #356, disable TLS for uClibc
This commit is contained in:
@@ -75,10 +75,10 @@
|
||||
#endif
|
||||
|
||||
/* Thread-local storage has been available since GCC 3.3, but not on Mac
|
||||
* OS X. */
|
||||
* OS X. Also disable TLS for uClibc*/
|
||||
|
||||
#if !(defined(__APPLE__) && defined(__MACH__))
|
||||
#if CORK_CONFIG_GCC_VERSION >= 30300
|
||||
#if CORK_CONFIG_GCC_VERSION >= 30300 && defined(TLS)
|
||||
#define CORK_CONFIG_HAVE_THREAD_STORAGE_CLASS 1
|
||||
#else
|
||||
#define CORK_CONFIG_HAVE_THREAD_STORAGE_CLASS 0
|
||||
|
||||
Reference in New Issue
Block a user