summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenbuck Nason <bnason@netflix.com>2017-08-15 08:25:36 -0700
committerDaniel Stenberg <daniel@haxx.se>2017-08-15 23:40:54 +0200
commit774d49af5255b0047ef1feb8fe3d68d9b3470f52 (patch)
treeb4b36f1f4ce4b3fa89ac633aa24aed5e7553daa3
parent3cb4bb6b5fb8a936cb69e2e9ea6a4e692122abb9 (diff)
downloadcurl-774d49af5255b0047ef1feb8fe3d68d9b3470f52.tar.gz
cmake: remove dead code for DISABLED_THREADSAFE
Closes #1786
-rw-r--r--CMakeLists.txt2
-rw-r--r--lib/curl_config.h.cmake3
2 files changed, 0 insertions, 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}