]> granicus.if.org Git - curl/commitdiff
cmake: remove dead code for DISABLED_THREADSAFE
authorBenbuck Nason <bnason@netflix.com>
Tue, 15 Aug 2017 15:25:36 +0000 (08:25 -0700)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 15 Aug 2017 21:40:54 +0000 (23:40 +0200)
Closes #1786

CMakeLists.txt
lib/curl_config.h.cmake

index af7f4dc402e1742753fb0e808e85e75652eba241..f3bfd8e9caab0d078a911417af343d87d7bfae8e 100644 (file)
@@ -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)
index a0241cf329ab33b6a820a4b2a59b510fc4720583..c2b5bacb905b9d6f839c5ea0decabf943b254b4e 100644 (file)
@@ -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}