mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-18 19:30:25 +00:00
Fixes for gcc
This commit is contained in:
@@ -34,17 +34,4 @@
|
||||
#define IFC_PARSE_API
|
||||
#endif
|
||||
|
||||
#if defined(__clang__)
|
||||
#define my_thread_local thread_local
|
||||
#elif defined(__GNUC__)
|
||||
#define my_thread_local __thread
|
||||
#elif __STDC_VERSION__ >= 201112L
|
||||
#define my_thread_local _Thread_local
|
||||
#elif defined(_MSC_VER)
|
||||
#define my_thread_local __declspec(thread)
|
||||
#elif defined(SWIG)
|
||||
#else
|
||||
#error Cannot define thread_local
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user