diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-07 11:05:07 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-09-07 11:05:07 +0200 |
commit | d1ac7e3ab1bf3cf639ddbd63ed3824e8bb9fc32f (patch) | |
tree | 9d8bd3f15db87e3fe69a31573bae1386e27d67c5 /ext/curl/share.c | |
parent | 8e05c4449673c8fd7bf3e1d3f5ddf4689ddd0bdb (diff) | |
download | php-git-d1ac7e3ab1bf3cf639ddbd63ed3824e8bb9fc32f.tar.gz |
Remove some unnecessary HAVE_EXTNAME guards
A recurring pattern in old extension: Putting the whole source
code behind HAVE_EXTNAME. This is pointless, as the code is only
compiled if the extension is enabled.
This removes a couple of them, but not all.
Diffstat (limited to 'ext/curl/share.c')
-rw-r--r-- | ext/curl/share.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/curl/share.c b/ext/curl/share.c index 407e14cdcf..d7eb7be56a 100644 --- a/ext/curl/share.c +++ b/ext/curl/share.c @@ -23,8 +23,6 @@ #include "php.h" #include "Zend/zend_interfaces.h" -#ifdef HAVE_CURL - #include "php_curl.h" #include <curl/curl.h> @@ -179,5 +177,3 @@ void curl_share_register_class(const zend_function_entry *method_entries) { curl_share_handlers.get_constructor = curl_share_get_constructor; curl_share_handlers.clone_obj = NULL; } - -#endif |