chdb-io/chdb
contrib/mariadb-connector-c-cmake/CMakeLists.txt
:110
add_definitions(-DHAVE_OPENSSL -DHAVE_TLS)
add_definitions(-DHAVE_OPENSSL -DHAVE_TLS)
check_c_source_compiles("static __thread int p = 0;" HAVE_TLS)
check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)
check_c_source_compiles("
static __thread int tls;
int main(void)
{
return 0;
}" HAVE_TLS)
check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)
check_c_source_compiles("static __declspec(thread) int p = 0; int main() {}" HAVE_TLS)
check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)
check_c_source_compiles("static __declspec(thread) int p = 0; int main() {}" HAVE_TLS)
check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)
check_c_source_compiles("static __declspec(thread) int p = 0; int main() {}" HAVE_TLS)
check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)
add_definitions(-DHAVE_OPENSSL -DHAVE_TLS)
add_definitions(-DHAVE_TLS)
check_cxx_source_compiles("__thread int i; int main(){return 0;}" HAVE_TLS)
check_c_source_compiles("static __declspec(thread) int p = 0; int main() {}" HAVE_TLS)
check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)
check_c_source_compiles("static __declspec(thread) int p = 0; int main() {}" HAVE_TLS)
check_c_source_compiles("static __thread int p = 0; int main() {}" HAVE_TLS)