Fixing issues, enabled warnings and fixing on linux

This commit is contained in:
Krzosa Karol
2026-01-31 22:53:18 +01:00
parent 52390a7aa8
commit bbf97eba2f
32 changed files with 117 additions and 99 deletions

View File

@@ -429,8 +429,8 @@ MCO_API const char *mco_result_description(mco_result res); /* Get the descripti
#else
#ifdef thread_local
#define MCO_THREAD_LOCAL thread_local
#elif __STDC_VERSION__ >= 201112 && !defined(__STDC_NO_THREADS__)
#define MCO_THREAD_LOCAL _Thread_local
// #elif __STDC_VERSION__ >= 201112 && !defined(__STDC_NO_THREADS__)
// #define MCO_THREAD_LOCAL _Thread_local
#elif defined(_WIN32) && (defined(_MSC_VER) || defined(__ICL) || defined(__DMC__) || defined(__BORLANDC__))
#define MCO_THREAD_LOCAL __declspec(thread)
#elif defined(__GNUC__) || defined(__SUNPRO_C) || defined(__xlC__)