From 774d49af5255b0047ef1feb8fe3d68d9b3470f52 Mon Sep 17 00:00:00 2001 From: Benbuck Nason Date: Tue, 15 Aug 2017 08:25:36 -0700 Subject: [PATCH] cmake: remove dead code for DISABLED_THREADSAFE Closes #1786 --- CMakeLists.txt | 2 -- lib/curl_config.h.cmake | 3 --- 2 files changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af7f4dc40..f3bfd8e9c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -172,8 +172,6 @@ option(CURL_DISABLE_CRYPTO_AUTH "to disable cryptographic authentication" OFF) mark_as_advanced(CURL_DISABLE_CRYPTO_AUTH) option(CURL_DISABLE_VERBOSE_STRINGS "to disable verbose strings" OFF) mark_as_advanced(CURL_DISABLE_VERBOSE_STRINGS) -option(DISABLED_THREADSAFE "Set to explicitly specify we don't want to use thread-safe functions" OFF) -mark_as_advanced(DISABLED_THREADSAFE) option(ENABLE_IPV6 "Define if you want to enable IPv6 support" ON) mark_as_advanced(ENABLE_IPV6) if(ENABLE_IPV6 AND NOT WIN32) diff --git a/lib/curl_config.h.cmake b/lib/curl_config.h.cmake index a0241cf32..c2b5bacb9 100644 --- a/lib/curl_config.h.cmake +++ b/lib/curl_config.h.cmake @@ -79,9 +79,6 @@ /* when not building a shared library */ #cmakedefine CURL_STATICLIB 1 -/* Set to explicitly specify we don't want to use thread-safe functions */ -#cmakedefine DISABLED_THREADSAFE 1 - /* your Entropy Gathering Daemon socket pathname */ #cmakedefine EGD_SOCKET ${EGD_SOCKET}