mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
gcc/clang OS X does not know about __thread
This needs a proper implementation
This commit is contained in:
parent
83cdece0b4
commit
9c1a4fa68e
@ -140,7 +140,8 @@ int c_setup_iconv(const char* to);
|
||||
int c_close_iconv(void);
|
||||
#endif
|
||||
|
||||
#if defined(__GNUC__)
|
||||
/* FIXME: Implement TLS for OS X */
|
||||
#if defined(__GNUC__) && !defined(__APPLE__)
|
||||
# define CSYNC_THREAD __thread
|
||||
#elif defined(_MSC_VER)
|
||||
# define CSYNC_THREAD __declspec(thread)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user